Coder Social home page Coder Social logo

anishsarum / triumph-strategy Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 200 KB

A 4 player turn-based strategy game made on Python 3 and Pygame, where the aim of the game is for a player to conquer all the land available in the map. 3 different maps with different sizes can be chosen, with the possibility of players to create more if they wish.

Python 100.00%
level-editor conquer wargame turn-based-strategy

triumph-strategy's Introduction

Triumph - Strategy Game

A 4 player turn-based strategy game made on Python 3 and Pygame, where the aim of the game is for a player to conquer all the land available in the map. 3 different maps with different sizes can be chosen, with the possibility of players to create more if they wish.

Instructions

  • To run the game, simply ensure all the files are in the same folder and then run the NEA.py file using Python 3.
  • e.g. python3 NEA.py

Maps

  • Small - 10x10
  • Medium - 15x15 (minimum 1080p display required)
  • Big - 20x20 (minimum 1440p display required)
  • Create your own by editing the map text files.

Rules

  • 4 teams - Red, Blue, Yellow, Green (turns are in that order too).
  • All teams start with 10 gold each.
  • All units have 10hp.
  • Starting postions for each team randomised at the beginning.
  • Players earn gold equal to the amount of tiles their unit owns per turn.
  • The team's turn is indicated at the bottom.
  • Each tile has an outline relative to the team which owns it.
  • Select units from the right of the board.
  • Then after selecting, click on a tile that your unit owns to place there.
  • Each unit has different costs.
  • When it's your turn, click on one of your units and click to an adjacent square to move there.
  • Number of movement points each unit has indicated at the bottom.
  • When your unit is adjacent to an enemy unit it can attack it by clicking on your unit then the enemy unit.
  • Ground (infantry and tanks) units are on a separate plane from Air (bomber and fighter) units, cannot attack each other except for the bomber unit.
  • Bomber is unique in that it can attack ground units by clicking the same tile it is on, twice.
  • Win the game by being the team to own all other tiles, or if the opponents give up.

Units

  • Infantry unit
    • 2 gold per unit
    • 1 damage
    • 1 movement point
    • good for holding ground
  • Tank unit
    • 20 gold per unit
    • 5 damage
    • 5 movement points
    • good for advancing and conquering new provinces
  • Bomber unit
    • 30 gold per unit
    • 5 damage
    • 5 movement points
    • good for advancing and destroying ground units (1 damage to fighters)
  • Fighter unit
    • 20 gold per unit
    • 5 damage
    • 5 movement points
    • good for destroying bombers

triumph-strategy's People

Contributors

anishsarum avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.