Skip to content

Graphics based game written in C++ (My first OOPS project)

Notifications You must be signed in to change notification settings

ghost1412/ShooterX

Repository files navigation

ShooterX

Graphics based game in C++

Requirement

  • Graphics.h

Controls

 <- : left
 -> : Right
 x and z : to change angle of the gun
 Space : Shoot
 p : pause
 r : restart

Rules

  • You have 3 lifes each life have 100 HP
  • Dodge the bullets falling from the sky
  • You can move left or right and rotate your gun clockwise or anticlockwise
  • Shoot at the randomly generated circle but you cannot shoot the 2 blue circle {Blockers} circulating around the target circle
  • Your score will be recored corresponding to your name

Usage

For compiling this project you need to add graphics.h library in your compiler.

For more detail and usage Click Here

g++ Users : gcc demo.c -o demo -lgraph