Server 'AI' is using Markov Chain to predict human's next move.
- 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
Application has submodules. Clone projects recursively.
git clone --recursive https://github.com/vakoBeridze/rps-game.git
- 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.