Skip to content

Simple game website to play rock paper scissors with register, login, levels and charts generated with python

Notifications You must be signed in to change notification settings

Adriskk/rps-game-page

Repository files navigation

Rock Paper Scissors

This is a simple game website to play rock paper scissors with register, login, levels and charts

Description

Fully responsive website with registering users, 3-level AI (Amateur, Intermediate, Expert) and charts (winrate, played games) in the stats page.

Page is using python and matplotlib module to generate charts

game.php

Setup

To setup python - head into the config file located at dir config/config.ini and paste your full path to the interpreter

[ PYTHON ]

; PATH TO THE PYTHON INTERPRETER ;
interpreter_path =

; YOU CAN CHANGE THE VALUE TO TRUE HERE IF YOU HAVE ENV PYTHON VAR (1) ;
; ELSE LEAVE IT FALSE (0) ;
env_variable = 0

To find out where your python interpeter is type in cmd:

where python

If python interpeter and env variable is not set - charts will not be generated, but ranking will be by php.

ranking.php

To setup the database - import the 127_0_0_1.sql to your host.

About

Simple game website to play rock paper scissors with register, login, levels and charts generated with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published