This repository has been archived on 2023-10-10. You can view files and clone it, but cannot push or open issues/pull-requests.
Explode/minesweeper.cpp

21 lines
401 B
C++

// A game of minesweeper, written in one day.
//
// CONTROLS:
// Left mouse click - test tile for mine
// Right mouse click - mark tile with a flag or remove a flag
// 'R' key - reset the game
// Esc - exit game
#include "game.h"
#ifdef _DEBUG
#include <vld.h> // Visual Leak Detector
#endif
int main()
{
Game *game = new Game();
game->MainLoop();
delete game;
return 0;
}