square-calculation
v1.0.1
Published
You can play a 100-square-calculation game on the console.
Downloads
7
Readme
Square-calculation
Installation
$ npm install -g square-calculation
Usage
$ square-game
How to play
- Select modes
- Easy Mode : Start the game with 25 squares.
- Normal Mode : Start the game with 100 squares.
- Calculate and input the numbers.
Input each cell's number, and press Enter
or Arrows
key.
The cursor will then move to the next cell or specified direction.
You can only input half-width digits.
To delete a number while entering, use the Backspace
or Delete
key.
- If you want to correct a number.
Use the Arrow
keys to move to the cell you want to correct.
Use the Backspace
or Delete
key to erase the number and re-enter it.
- Display scoring results.
After all cells have been filled, press Ctrl+D
to display the scoring results.
Incorrect areas will be highlighted in red.
Note
To play this game, you need a terminal with a display size large enough to show the grid.
If your terminal's size is insufficient, you will see a message like the following.
Please enlarge the terminal size and run it again.