point game on React for StarNavi
npm i
npm run start
- select a game mode and enter a username and press play
- points will appear in the playing field and after a certain period of time the dot will be highlighted in blue if the user clicked during that time on the point it turns green and a point is credited to it, if not the point becomes red and the point is credited to the computer
- when someone wins more than half the field, they become the winner
- the play button changes to play again and when the game is finished clicking on it can start a new game
- the Leader Board on the right in real time displays the winners
- виберіть режим гри (game mode) і введіть імя (username) та натисніть кнопку play
- в ігровому полі зявляться точки і через певний час рандомно точка буде підсвічуватись голубим кольором, якщо юзер натиснув за цей час на точку вона стає зеленого кольору і йому зараховується очко, якщо ні то точка стає червоного кольору і очко зараховується компютеру
- коли хтось завойовує більше половини поля то стає переможцем
- кнопка play змінюється на play again і по завершенню гри натиснувши на її можна розпочати нову гру
- Leader Board праворуч в реальному часі відображає переможців