Skip to content

WG-Forge/Team-Segfault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team-Segfault

Team members:

Game description

The game can have bot players, remote players, and observers. It is a turn-based strategy game played on a hexagonal map, with each player being assigned five different tanks. Each game is uniquely identified by its name, and the same goes for each player joining that game. When starting the game you will be greeted by a menu screen where you can change the game configuration as you wish. After starting the game and waiting for all the players to join, a simulation will play out in which the different players will battle each other, until the game ends in a draw or a winner is determined.

Running

Set the project workspace to the folder which contains main.py, start the Python virtual environment (if you are using an IDE), or just start the game by running the command py .\main.py with the project root as your current directory, and follow the on-screen instructions!

Python 3.11 <= is required.

Make sure to install all the required packages in requirements.txt.

Running without the menu/debugging

For testing remote games run the remote_game_create and remote_game_join modules separately, with the same project workspace as for the previously named. For other tests configure the parameters and run the wanted modules separately.

Project structure

A simplified version of the project structure can be seen here: VLNBZjim3BpxAuIS-a0EFVGI5CMsoVO1D6YnIO5U6Oj8XBLbGw8sS1__tbYCL2iqcfk6mo5jpJXtdi1HQ9lgP3GgR7iQL8lj0Pslghe1xzN6-Bw1OGiMZkZKhqfTVY-FIDyzki-s3_JiEMDHx2Eqc03juBohqOx0dwGt4bY5ErBxClGQ27S4X0dwTXcCxZhwdqJKP0qUaWREI4Jkvi91ny0Ux2EVovtMZK5BQJ6qUj_jq3sXIqfyMdVMOas

The DisplayManager is the top-level entry point of the program, but the Game class can be run and configured itself without it, in which case no window will be rendered, and only console output can be seen.

Assets

Tank classes icons

Tank icon

Explosion

Explosion sound

Gunshot sound

Projectile

Tank icon for pygame window

Tank tracks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages