Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.24 KB

File metadata and controls

40 lines (26 loc) · 1.24 KB

Rock Paper Scissors Text Server

A rps server that runs off of an email address.

After you create a username you can challenge other people on the list of users to a game. It will then send them a notification that they were challenged, which they can then respond to. After both users have sent in their responses, the results will be sent to each user, changing their W/L/T ratio on the leaderboard.

Usage

To use any command, text it to the email that is configured with the server.

To add yourself to the database, text the command:

add {username}

To see the list of scores and users, text the command:

scores

To send a challenge to a user, text the command:

rps {user} {{r} or {p} or {s}}

To see the list of your current games, text the command:

games

To see the condensed list of these commands, text the command:

help

Installation

Generally, installation follows these steps:

  1. Install Python 2
  2. Install MySQL
  3. Install MySQLdb
  4. Setup a new database using the provided .sql file
  5. Change the variables at the beginning of rps_server.py
  6. Run rps_server.py