summaryrefslogtreecommitdiff
path: root/src/main.cpp
blob: cbee4907f457c18f6c759f7268ec006ccb43c544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include <iostream>
#include "game/Game.hpp"
using namespace std;

int main(){
	Game game;
	int choice;

	cout << "Welcome to minesweeper 0.1.0\n";
	cout << "\n";
	cout << "Select difficulty:\n"
		"1. Easy\n"
		"2. Medium\n"
		"3. Hard\n"
		"4. Custom\n";
	cout << "Difficulty: ";
	cin >> choice;

	if(choice == 1){
		game.initDiff(0);
	} else if(choice == 2){
		game.initDiff(1);
	} else if(choice == 3){
		game.initDiff(2);
	} else if(choice == 4){
		game.initDiff(3);
	}

	return 0;
}