maanti / Rock-Paper-Scissors-Spock-Lizard

A multiplayer rock-paper-scissors-lizard-spock game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rock-Paper-Scissors-Spock-Lizard

This is the test task. Node.js, React, Socket.io

General Technical Requirements

  1. Be production-ready
  2. Be understandable and maintainable by other developers
  3. Demonstrate best-practice
  4. Be robust and handle error situations
  5. Be bug free, compile and execute correctly
  6. Be written primarily in JavaScript

Scope Overview

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.

Specific Technical Requirements

Your solution should (specific technical requirements):

  1. Be well commented
  2. Use OOP practices
  3. Use node.js for the server side
  4. Use socket.io for communication between the client and the server
  5. Use sound manager for the sound effects
  6. Use React JS for UI

About

A multiplayer rock-paper-scissors-lizard-spock game


Languages

Language:JavaScript 90.9%Language:CSS 4.7%Language:HTML 4.3%