This is the test task. Node.js, React, Socket.io
- Be production-ready
- Be understandable and maintainable by other developers
- Demonstrate best-practice
- Be robust and handle error situations
- Be bug free, compile and execute correctly
- Be written primarily in JavaScript
As a part of the test task, you need to develop a simple JavaScript application - the online RockPaper-Scissors-Spock-Lizard game (business requirements):
- [done] After opening a page, user should see a waiting screen (while waiting for a second player).
- [done] There should be a link, which needs to be sent to the second player.
- [done] The second player should open the invitation link in browser and see the game screen.
- [done] The first player is sent to the game screen as well. Both players choose a gesture.
- [done] When each player selects the gesture, the results of the round are displayed on the game screen.
- [to-do] The game process should be accompanied with a simple animation.
- [to-do] Optionally, you can add sounds.
- [to-do] Several pairs of players should be able to play at the same time.
Your solution should (specific technical requirements):
- Be well commented
- Use OOP practices
- Use node.js for the server side
- Use socket.io for communication between the client and the server
- Use sound manager for the sound effects
- Use React JS for UI