This is a small server application to manage a game of rock, paper, scissors. It is intended to run in a Docker (see https://github.com/CTreffOS/rps-docker for more information).
Execute start.sh to start the server. Also start.sh needs two arguments to identify the two players.
There is a testplayer and a testscript to simulate a game. Run sh test.sh. Therefore curl and a redis server and client are needed. Redis will use database 0 to save variables.
For REST look at the source code in rps_server.py
- python
- redis-tools
- python-redis
- python flask
- gunicorn