Skip to content

vakoBeridze/rps-game

Repository files navigation

Rock Paper Scissors Game

Game Description

Server 'AI' is using Markov Chain to predict human's next move.

Game process:

  • user starts new game with preselected config:
    • movesToRemember: on how much moves calculate probabilities
    • adaptChangesPercentage: used for changing game levels, value can be between 0 - 1.
  • based on previous user selection bot generates new prediction and tries to beat user.
  • user selects one from ['Rock', 'Paper', 'Scissors']
  • bot saves user selection for feature predictions

Start application

Clone project

Application has submodules. Clone projects recursively.

git clone --recursive https://github.com/vakoBeridze/rps-game.git

Start project

  • One way to start project is to start frontend and backend separately
    • you can start backend application with java.
    • frontend is on ReactJS. NodeJS is required.
  • The second and easier way to start application is Docker. Just run:
docker-compose up

Application starts on localhost if you start with docker.

About

Rock Paper Scissors Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published