Game for 2 players programmed in C programming language with SDL2 library similar to Worms intended to run on MicroZed development board.
This game was a part of final assignment for computer architecture class 2020 at CTU in Prague.
Code for controlling the MicroZed board will not be published.
https://www.youtube.com/watch?v=Yrv8gW5AzSg
Some keys have multiple functions which are activated after confirming the previous action. So for example, keys A and D are responsible for moving the tanks, but after confirming this action with key S, A and D will now be responsible for changing the power the projectile is launched with.
- Key A: Moving left, after pressing key S -> lowering the launch power
- Key D: Moving right, after pressing key S -> more power to the launch of projectile
- Key S: 1. click- confirming the movement change, 2. click- launching the projectile
- Key L: Rotating the tank barrel clockwise
- Key J: Rotating the tank counter-clockwise
- Key K: Changing weapons {cannon, sniper}
After successfully installing dependencies you can
move to the main directory and compile the code with included MakeFile.
make
After successfully compiling the code you can start the game.
./mzapo
The game is controlled by typing commands and pressing enter.
So if you want to move 5 pixels to the right, then 2 pixels to the left, changing weapons and firing.
dddddaakss
and press enter.
Peter Basár https://twitter.com/peterbasar
Ivan Čermák https://github.com/NotMyName2
Open Source Apache LicenseVersion 2.0, January 2004. See LICENSE for more information.