Find a file
2014-10-01 14:46:07 -07:00
build moved executable to build 2014-10-01 14:46:07 -07:00
.gitignore Initial commit 2014-09-30 23:51:09 -07:00
main.c fixed NEAR detection at beginning 2014-10-01 01:06:27 -07:00
Makefile initial 2014-09-30 23:54:51 -07:00
README.md fixed NEAR detection at beginning 2014-10-01 01:06:27 -07:00

hp-minehunt

A "port" of the minehunt easter egg from the HP-48 series calculators

The build was compiled on a 64-bit Debian machine. Run with ncurses library installed.

You can build the game yourself from the makefile. Make sure you have the ncurses development library installed to do this.

Gameplay

Use the rogue keys (hjklyubn) to move around:

  • h: left
  • j: down
  • k: up
  • l: right
  • y: up-left (diagonally)
  • u: up-right
  • b: down-left
  • n: down-right

or simply use your number-pad if you have one. Use the escape key or 'q' to quit at any time.

Navigate across a minefield to safety! Your minesweeping instincts will tell you how many mines are "Near" you, which includes all the cardinal and ordinal squares around you. Upon finishing a game, the game will display your score and the seed (used to generate the minefield).

The game can take the seed as an arguement, so it is possible to share a seed amongst friends and play on the same map!