We are looking to determine how you approach creating a coded solution from scratch. Please treat this as if you are creating production ready code. We expect this to reflect how you would deliver to a client, so take that into account when creating your solution.
The aim of this short exercise is to simulate a fruit machine game in React. A fruit machine consists of three wheels, each wheel containing four colours
- Red
- Blue
- Green
- Yellow
The player spins the wheels by clicking on a button labelled "PLAY". On playing the game, each wheel should use a random number to decide which colour to land on and the results of the three wheels should be displayed to the user. If all three wheels land on the same colour a message should be displayed declaring that you have won the game.
- Clone the repo
- npm install
- npm run start
Once complete, make a pull request from your fork to allow us to review your solution.