Skip to content

CTreffOS/rps-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rps-server

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.

REST

For REST look at the source code in rps_server.py

Requirements

  • python
  • redis-tools
  • python-redis
  • python flask
  • gunicorn

About

Server to play Rock-Paper-Scissors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published