War Game project for the "Methods of Sustainable Programming" course, teached by Mikael Roos.
Group members are: Einav Zilka, Dzenis Madzovic and Luan Rexhepi.
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.
- 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
- Make sure that all of the dependencies are install
- To run the game, go to the war directory and run main.py
- How to run the program
- Step-by-step bullets
code blocks for commands
Any advise for common problems or issues.
command to run if program contains helper info
Contributors names and contact info
ex. Dominique Pizzie
ex. @DomPizzie
- 0.2
- Various bug fixes and optimizations
- See commit change or See release history
- 0.1
- Initial Release
This project is licensed under the [NAME HERE] License - see the LICENSE.md file for details
Inspiration, code snippets, etc.