Skip to content

marckysharky/target-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Target Game

Simple game, in Ruby.

Controls

  • Keyboard arrows to move
  • a or spacebar to remove target element

Symbols

  • @ player
  • % target
  • + crosshair
  • - empty space

Objective

Move through the board and remove all the targets, as quickly as possible. Once the player is over a target, the icon will change to a crosshair.

Example Output

-  -  %  -  -  %  -  -  -
-  -  -  -  -  -  -  -  %
-  %  -  -  -  %  -  -  -
-  -  %  -  %  -  -  -  -
-  -  -  -  -  -  @  -  -
-  -  -  -  -  %  -  -  -
-  -  -  -  -  -  -  -  -
-  -  -  -  -  -  -  -  %
-  -  -  -  -  -  %  -  -

Example Result

Completed in 12.451481 seconds, score is 1120.63329

About

Simple target game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages