mines
Loading...
Searching...
No Matches
play.cpp File Reference
module mines
#include <chrono>
#include <cstdint>
#include <string>
#include <vector>
import mines:game;
Include dependency graph for play.cpp:

Classes

class  Move
 Move made during a play. More...
class  Play
 Finished play of the game. More...

Enumerations

enum class  MoveType {
  Uncover , UncoverNear , Flag , Mark ,
  Unflag
}
 Type of a move. More...

Enumeration Type Documentation

◆ MoveType

enum class MoveType
exportstrong

Type of a move.

Enumerator
Uncover 

Uncover a cell.

UncoverNear 

Uncover all unflagged cells nearby the already uncovered cell.

Flag 

Place a flag on the cell.

Mark 

Place a mark on the cell.

Unflag 

Remove a flag or mark from the cell.