Skip to content

WG-Forge/Tank-Predators

Repository files navigation

Tank-Predators

Team members:

Miloš Kovačević
Pavle Prodanovic
Armandas Puidokas

Installation:

  • Clone the repository or download the source code.
  • Make sure you have Python 3.10 or higher and "pip" package manager installed on your system.
  • Open a terminal or command prompt.
  • Navigate to the directory where source code is located:
    cd pathToCode
  • Install the required dependencies:
    pip install -r requirements.txt

Starting a game:

  • Open a terminal or command prompt.
  • Navigate to the directory where source code is located:
    cd pathToCode
  • Run the script with the following command:
    python Play.py --name=<your_name> [--password=<your_password>] --gamename=<game_name> [--numturns=<num_turns>] [--numplayers=<num_players>] [--fullgame] [--observer] [--wait]
    Replace the placeholders (<your_name>, <your_password>, <game_name>, <num_turns>, <num_players>) with your desired values. The --name and --gamename options are required.
    Optional flags:
    • --password: Specify your password (if needed).
    • --numturns: Set the number of turns (default is 45).
    • --numplayers: Set the number of players (default is 3).
    • --fullgame: Enable full game mode.
    • --observer: Play as an observer.
    • --wait: Wait for user input before exiting.

Game map interface:

Hex Types

  • White colored hexes are empty
  • Green colored hexes are the central base
  • Black colored hexes are obstacles
  • Red colored hexes are catapults (CP)
  • LightPink colored hexes are light reapir (LR)
  • DarkPink colored hexes are heavy repair (HR)
  • Other colors are tanks of the teams, each their own color (orange, purple and blue)

Tank Types

  • AT_SPG: "TD",
  • HEAVY_TANK: "HT",
  • LIGHT_TANK: "LT",
  • MEDIUM_TANK: "MT",
  • SPG: "SPG",

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages