Skip to content

rmihaja/Damnier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Damnier

Simple checkers game made with Python and Tkinter for my Python Project course.

Installation

The player communications are made on top of socket.io. It is the only dependency of both client and server.

Download the project files and open a terminal in the downloaded folder directory.

Using the preconfigured remote server

A remote server has already been set up for the backend.

To launch the client, install socket.io dependency first :

pip install "python-socketio[client]"

Then run game.py (assuming you have a python 3 environment on your machine) :

python ./app/game.py

Note : You will have to look for another player or run two windows of the app to be able to initiate the game and play.

Using a local server

However if you want to run your own server, you will need Node.js.

First install socket.io dependency with npm :

npm install

Then you can run the server :

node .

After that, run damnier.py with the command above. The app will connect to the local server instead of the remote one.