Skip to content

A simple command line game to find your hat in the field.

License

Notifications You must be signed in to change notification settings

HJ1X/Find-your-Hat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Find-your-Hat

A simple command line game to find your hat in the field.

Description

Game has been developed using Javascript. Game does not have any other dependency. This game is meant to be played on command line.

Instruction

-> You will be given a field with one hat and few holes (per centage of holes could be changed).
-> The goal is to find hat without falling in holes.
-> The user starts from the upper left corner of the field.
-> User needs to find a path to the hat avoiding holes.

Annotations

-> '*' - Shows user path
-> 'O' - Shows holes on the field
-> '^' - Shows hat in the field
-> '░' - Shows empty area in the field on which user could move

Requirements

-> User will need Node environment to run game script.
-> Promp-sync module to accept user input.
-> No other dependancies.

About

A simple command line game to find your hat in the field.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published