Anonymine - guess free minesweeper

Latest version: 0.6.30 - what's new

You can try it on my demo server using SSH. Log in as, password is "play".
Leaderboard for public demo server


To top of the page

Anonymine is the "anonymous minesweeper" as I never had any name for it, but I think "Anonymine" works just fine. Back in December 2015 I was curious about creating an algorithm for solving minesweeper, and then I needed an excuse for it so I turned it into a terminal game that can be solved wihout any guessing.

Do note that it runs in the terminal, so it may not be your cup of tea. Mouse input is usually supported, but only really useful in hexagonal mode.

Being solvable without guessing is not its only feature, it has many other unusual or even unique features: the games are fully customizable and Anonymine seems to be the only minesweeper with von Neumann grids.

For each game you can set the field type (normal / hexagonal / von Neumann), width, height and number of mines, only restricted to certain minimums and security limits (to avoid igniting your computer).

The supported field types/game types are:

Von Neumann grids

I have never seen another minesweeper that can have fields with von Neumann grids. In a von Neumann neighbourhood (grid), each cell/square has only four neighbours, at the edges but not at the corners.

The biggest number you'll ever see is 3. But that doesn't mean it's easy, it's quite the opposite.

Traditional fields with Moore grids

Like any other minsweeper.

Hexagonal fields

Every cell is a hexagon and has six neighbours, (with obvious exceptions). This mode has separate key bindings because there is no single "up" and single "down" direction.

More features:

  • It looks almost fine on monochrome terminals.
  • Even the losers can get on their very own highscores table.
  • There are cheat codes. They're not useful, but will be a challenge to crack.


To top of the page

NOTE: Not for smartphones and tablets.
It may possible to play the game from a phone using remote access.

Linux, macOS, unix-like, Windows, Haiku

Anonymine is free and open source software released under the 2-clause BSD license. You can either download tarballs from my site or clone it from GitLab.

Archive of all released versions

If you find any bugs, please create an issue.


There are a few options:

  • Automatic Cygwin and Anonymine installer
  • Install Python and windows-curses

Comparison of options

Automatic Cygwin installer

Install-as-normal-user.bat on Windows 10/11 should work fine. The admin version is known to have some problems, and also other versions of Windows.


Install Python and windows-curses

It is possible to run the unix version with some limitations.


Download the unix version from above or git clone directly in Terminal.


To top of the page

The von Neumann field: The biggest number you'll ever see is 3. This mode makes Anonymine a unique minesweeper. (Attention mode has been enabled to find the last few cells.)

Traditional (Moore) field, nothing special

Hexagonal field

The losers' highscores


To top of the page

Check the readme and installation instructions for more details.

Tested on

Here's a list of various platforms Anonymine has been tested on. It works on all of them unless I say otherwise, but there may be some minor issues.

  • Various GNU/Linux distributions and Debian GNU/Hurd
  • FreeBSD, OpenBSD, NetBSD, DragonflyBSD
  • Haiku
  • SerenityOS
  • macOS
  • OpenIndiana/Solaris
  • Cygwin (on Windows)
  • Windows (without Cygwin)

What's new?

To top of the page

Release notes
    - check-install-cfg is smarter now
    - If you have modified cursescfg you may want to check what updates 0.6.20
      brought, previously check-install-cfg would have FORCED you to update.

0.6.20 (BROKEN for new installs, fixed in 0.6.21)
    - Significant changes in cursescfg.  Old configuration file is still
      compatible, but most changes of this release is in that configuration
    - check-install-cfg can't properly check compatibility, run
        ./configure skip-check-install-cfg=true
      if you want to keep the old cursescfg and assume it works.

    - Fix issue 32 and 33
    - Fix 33 will prevent you from setting ONLY the -c option when used
      over an SSH connection. Simply add another option or run
      `SSH_CLIENT= anonymine -c path/to/cursescfg`
    - From now on, configuration files MUST NOT be modifiable by group members
      even if group ID is zero.

    - Changes to  Make sure to run 'make uninstall' before
      running './configure'.
        - Known regressions: PyPy on OpenBSD 6.4-ish (pretty old)
    - Fixed the symlinks script, previously it failed to delete broken
    - [MacOS]: Can now use both mouse and numpad.
    - [Haiku]: 0.6.17 adds icon on the launcher.

See the rest of the file on Gitlab

Bigger changes
What's new in 0.6.0 since 0.5.0?


It is now exactly six years since the first ever release.

Improved platform support:
    - Windows supported natively (0.5.6, improved 0.5.32)
    - Can now install on Haiku (0.5.22, improved 0.5.31)
    - Works better on macOS than before
    - Installs desktop shortcuts on Cygwin (0.5.34)
    - Fixed curses problem on NetBSD (0.5.27)

    - Cheat codes: Not a useful feature, but a challenge to crack.
    - Processors are now counted during run-time (since 0.5.18)
    - Deal with some curses issues. (0.5.18, 0.5.27)

Dropped support for:  (0.5.17 is last supporting version)
    - Python 2.6
    - Minix

See the rest of NEWS on Gitlab

Low level changes

See ChangeLog on Gitlab