Skip to content

jayahariv/asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteriods Game in C++

Dependencies

Tips on installing SDL2 & SDL2 Image

Mac

  • brew install sdl2
  • brew install sdl2_image

Linux

  • sudo apt-get install libsdl2-dev
  • sudo apt-get install libsdl2-image-dev

Basic Build Instructions

  1. Clone this repo. git clone https://github.com/jayahariv/asteroids.git
  2. Make a build directory in the top level directory: mkdir build && cd build
  3. Compile: cmake .. && make -j
  4. Run it: ./AsteroidsGame

How to play the game

  • top / down arrow keys to move forward and backward
  • left and right to rotate the ship
  • press a to fire

asteroids

Future

  • stars in the sky
  • break astroid to smaller pieces
  • sounds

About

Asteroids game in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published