Skip to content

Einavzil/WARGAME-project

 
 

Repository files navigation

War Game Project

War Game project for the "Methods of Sustainable Programming" course, teached by Mikael Roos.
Group members are: Einav Zilka, Dzenis Madzovic and Luan Rexhepi.

Description

War (also known as Battle in the United Kingdom) is a simple card game, typically played by two players using a standard playing card deck — and often played by children. There are many variations, as well as related games such as the German 32-card Tod und Leben ("Life and Death").
This is an implementation of the War card game, made completely in python. Our implementation of the war game includes two game modes:

  • Short - played for 26 turns, winner is decided by who has more cards in their deck. Scores are based on the number of cards.
  • Long - played until one of the players loses all cards. Scores are based on the number of draws it took to finish the game.

Getting Started

Dependencies

  • Firstly, create a virtual enviroument by running "make venv".
$ make venv
  • Activate the venv by running the commands given in the command line.
  • To install all of the dependencies, run "make install"
$ make install

Running The Game

  • Make sure that all of the dependencies are install
  • To run the game, go to the war directory and run main.py

Executing program

  • How to run the program
  • Step-by-step bullets
code blocks for commands

Help

Any advise for common problems or issues.

command to run if program contains helper info

Authors

Contributors names and contact info

ex. Dominique Pizzie
ex. @DomPizzie

Version History

License

This project is licensed under the [NAME HERE] License - see the LICENSE.md file for details

References

Inspiration, code snippets, etc.

About

A war game for a project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 77.9%
  • Makefile 22.1%