Skip to content

jainsakku/Can-you-survive-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Survival Game in OPENGL instruction file*****

->> To run the code type g++ game.cpp -lGL -lGLU -lglut

->> This game consists of two main objects

--> Moving man

-->Obstacle

Try to avoid obstacle as long as you can

-->3 lives are provided

-->After running the code choose the difficulty level of the game

-->To move the man

	:---> for the left movement of the man press left arrow key "<-"
	
	:---> for the right movement of the man press right arrow key "->"
	
	:---> to jump press "f"
	
	:---> to duck the bullet press "g"
	
	:--->for left hand movement press "s"
	
	:---> for right hand movement press "g"

--->After 3 collisions with the bullet the game will get over

---> final score is displayed on the terminal window

------------------------------------------------THANKYOU for Trying this game------------------------------------------------

About

A small game developed in OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published