Skip to content

JVtristaoAC/terminal-quest

Repository files navigation

Terminal Quest

This is a terminal-based implementation of the classic Magic Square game, built using Vue TermUI. Magic Square is a mathematical puzzle where the player aims to arrange numbers in a square grid so that the sum of numbers in each row, column, and diagonal is the same.

Features

  • Terminal-based UI using Vue TermUI, providing an interactive experience.
  • Dynamic rendering of the grid and input validation for a smooth user experience.
  • Game completion detection to inform the player when they have solved the puzzle.
  • Error handling and feedback to guide the player through the game.

Installation

  • Clone this repository:

      git clone https://github.com/JVtristaoAC/terminal-quest.git
  • Navigate to the project directory:

      cd terminal-quest
  • Install dependencies:

      npm install

Usage

To start the game, run:

 npm run dev

Follow the on-screen instructions to play the game.

Contributing

Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Magic square game in terminal using Vue TermUI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published