Multiplayer Game Server Save

A multiplayer game matchmaking server for Snake and Ladders and Connect Four

Project README

Multiplayer-Game-Server

A web app which supports multiplayer gaming.

Setting up MySQL

sudo apt update
sudo apt install mysql-server libmysqlclient-dev

#setting your password
sudo mysql
mysql > ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_new_password';
mysql > FLUSH PRIVILEGES;
mysql > exit

mysql -u root -p
#enter your password when prompted
mysql > source db_config.sql 
mysql > quit
exit

Setting up Virtual Environment and Install Requirements

sudo pip install virtualenv
python3 -m venv flaskenv
source flaskenv/bin/activate
pip install -r requirements.txt

Running the project

Change your password at line 12 of server.py

python3 server.py

To login and play, use two different browsers, as we use cookies to save user information.

Open Source Agenda is not affiliated with "Multiplayer Game Server" Project. README Source: YashasG98/Multiplayer-Game-Server
Stars
44
Open Issues
15
Last Commit
1 year ago

Open Source Agenda Badge

Open Source Agenda Rating