Skip to content

This repository contains a terminal-based interactive game where players navigate a grid maze to locate a hidden item while avoiding obstacles. Built using JavaScript classes and command-line user input, this project showcases fundamental game mechanics and field generation. (09/02/2024)

Notifications You must be signed in to change notification settings

deijaparker/interactive-terminal-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Hat Finder: Interactive Terminal Game

Overview

A terminal-based game where you navigate through a grid to find your lost hat while avoiding holes. This project demonstrates the use of JavaScript classes, user input handling, and basic game mechanics in a command-line environment.

Setup

  1. Ensure you have Node.js installed.
  2. Clone this repository.
  3. Run npm install to install dependencies.
  4. Execute node main.js to start the game.

Game Instructions

  • You will start in the upper-left corner of the grid.
  • Enter one of the following commands to move: N (North), S (South), E (East), W (West).
  • The game ends when you find your hat, fall into a hole, or move outside the grid.

About

This repository contains a terminal-based interactive game where players navigate a grid maze to locate a hidden item while avoiding obstacles. Built using JavaScript classes and command-line user input, this project showcases fundamental game mechanics and field generation. (09/02/2024)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published