Skip to content

This code example shows how to use a timer, mouse input, keyboard input, and other elements of a simple game. The example also shows how to use the state design pattern for the three states in the game, the introduction screen, the game, and the game over screen. This complicates the code somewhat, but makes it much easier to add states to the g…

License

Debasis1963/Sample-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Sample-game

#Help required

This code example shows how to use a timer, mouse input, keyboard input, and other elements of a simple game. The example also shows how to use the state design pattern for the three states in the game, the introduction screen, the game, and the game over screen. This complicates the code somewhat, but makes it much easier to add states to the game. It is not really a game, more of a sketch for a game architecture.

About

This code example shows how to use a timer, mouse input, keyboard input, and other elements of a simple game. The example also shows how to use the state design pattern for the three states in the game, the introduction screen, the game, and the game over screen. This complicates the code somewhat, but makes it much easier to add states to the g…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages