jburkardt

MINESWEEPER\ An ASCII-Graphics Emulation of Minesweeper {#minesweeper-an-ascii-graphics-emulation-of-minesweeper align=”center”} ==========================================


MINESWEEPER is a C++ program which emulates the popular Minesweeper game, using ASCII graphics, by Detelina Stoyanova.

The program sets up an 8 by 8 board, with 10 mines. The minefield is displayed, using ‘-‘ to indicate unknown squares, a blank for clear squares, and a number for a clear square with that many mined neighbors.

The user selects a square by typing in the row and column number.

There are three optional inputs:

Licensing: {#licensing align=”center”}

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages: {#languages align=”center”}

MINESWEEPER is available in a C++ version.

LIFE_OPENGL, a C++ program which uses OpenGL to display the evolution of John Conway’s “Game of Life”.

LIGHTS_OUT_OPENGL, a C++ program which sets up a “Lights Out” game and allows the user to solve it, using the OpenGL graphics window.

Author: {#author align=”center”}

Detelina Stoyanova

Reference: {#reference align=”center”}

  1. Richard Kaye,\ Minesweeper is NP Complete,\ Mathematical Intelligencer,\ Volume 22, Number 2, pages 9-15, 2000.

Source Code: {#source-code align=”center”}

List of Routines: {#list-of-routines align=”center”}

You can go up one level to the C++ source codes.


Last revised on 26 July 2011.