Watch the video: https://vimeo.com/219341567
You need to build this game in ReactJS.
Step 1: Render the board in number of squares given by the user.
Step 2: Place your player (in the video it's the red one) roughly in the center of the board.
Step 3: Generate the Green Sprites randomly on the board. If the board is of 10x10 for example. You need to place 10 Green Sprites randomly on the board.
Step 4: Count the steps it takes for the player to hit all the green sprites on the board.
Important: Do not use jQuery. Its important you ONLY use ReactJS.
Please DO NOT fork this repo. Instead send the GitHub link to someone who interviewed you to take the interview forward.