Skip to content

neonLian/TankTactics

Repository files navigation

TankTactics

A 2D turn based tactics/strategy game with tanks

Screenshot of TankTactics

How to start server

Option 1: Build a Docker image using the provided Dockerfile

docker build -t tanktactics .
docker run --publish 5000:5000 tanktactics

Option 2: Manual

To start the server, run server.py with python. By default it will open on port 5000. To play the game, go to your IP address at port 5000 in your browser:

http://<your IP address>:5000

Dependencies

The server runs on Python 3 using flask and SocketIO. It is very important to get the exact version of flask-socketio below or it might not work.

A requirements.txt file is in the repository to install the correct versions easily. Use the below command to install flask and socketio with the necessary versions:

pip install -r requirements.txt

Python modules:

flask
flask-socketio==4.3
gevent-socketio

How to play

Learn how to play TankTactics here: https://docs.google.com/document/d/1ly9lh8qnriQrqWU6vsNoSh7yAaOpZFHahgXtHfhiv-g/edit?usp=sharing

About

A browser-based multiplayer turn based tactics game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published