Skip to content

Game for 2 players programmed in C programming language with SDL2 library similar to Worms.

License

Notifications You must be signed in to change notification settings

peterbasar/Tank_APOcalypse_C_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tank_APOcalypse_C_game

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.


Logo

Logo

Logo


Gameplay video on MicroZed board

https://www.youtube.com/watch?v=Yrv8gW5AzSg

PC controls

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}

Dependencies

Usage

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.

Creators

Peter Basár https://twitter.com/peterbasar
Ivan Čermák https://github.com/NotMyName2

License

Open Source Apache LicenseVersion 2.0, January 2004. See LICENSE for more information.

About

Game for 2 players programmed in C programming language with SDL2 library similar to Worms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published