Enumerated Types.........Exercise

At the end of chapter "Switch Case and Enums". There is one question
Write a two-player tic-tac-toe game; use enums when possible to represent the values of the
board
.
I have coded this-

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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
  #include <iostream>

using namespace std;

enum TicTacToeBoard
{
    TTT_Blank, TTT_O, TTT_X
};



int main()
{
    TicTacToeBoard board_position = TTT_Blank;
    int input;

    cout << "Please Enter 1 for o and 2 for X" << endl;
    cin >> input;

    switch(input)
    {
    case TTT_Blank:
        {
            cout << "This is shit, You entered " << TTT_Blank << " which means blank, you idiot" << endl;
            break;
        }
        case TTT_O:
        {
            cout << "You Entered " << TTT_O << " which means o, Good Job Mate" << endl;
            break;
        }
    case TTT_X:
        {
            cout << "You Entered " << TTT_X << " which means X" << endl;
            break;
        }
        default:
        {
            cout << "You Entered value which is not in scope, which basically means you are asshole" << endl;
        }
    }


}


I am asking this because i don't understand what he is trying to say. Is he asking me to make a game? I didn't learn any thing about game development.
Can I move on to the next chapter..........Have I learned enough to proceed?
Topic archived. No new replies allowed.