README
1ttt - A simple Tic Tac Toe game written in SDL
2
3by Bill Kendrick
4bill@newbreedsoftware.com
5http://www.newbreedsoftware.com/
6
7March 14, 2003 - March 14, 2003
8
9
10About
11-----
12 ttt is a very simple one- or two-player Tic Tac Toe game played using a mouse.
13 It was developed in response to a request by Barbara Schaffer of the
14 American Red Cross. It is released as Free Software under the
15 GNU General Public License. (That is, it's Open Source.) See COPYING.txt.
16
17Requirements
18------------
19 ttt requires the Simple DirectMedia Layer library ("libSDL"), as well as
20 the add-on audio library "SDL_Mixer". See http://www.libsdl.org/
21
22Playing
23-------
24 When you run the game, you'll see the "#"-shaped tic-tac-toe board
25 and a pair of buttons on the right, labelled:
26
27 'Human vs. Computer'
28
29 and
30
31 'Human vs. Human'
32
33 Click one of these buttons to begin. At the bottom right, you'll notice
34 it now says "X's Turn".
35
36
37 Use the mouse pointer to choose a position on the game board, and click
38 to place a piece. The "turn" display at the bottom right will now read
39 "O's Turn."
40
41 In two-player mode ("Human vs. Human"), the other player must also use
42 the mouse to place their piece.
43
44 In one-player mode ("Human vs. Computer"), the computer will think for
45 a moment, and then place its piece.
46
47 The game cycles like this until it is over. (See below)
48
49Game Over
50---------
51 The game ends either when someone wins (by getting three of their pieces
52 in a row, either horizontally, vertically, or diagonally), or when the
53 board is full.
54
55 If someone wins, a message will appear at the bottom right stating either
56 "X WINS" or "O WINS!"
57
58 If the game is a draw, it will say "A draw!"
59
60 At this point, you can click one of the game-starting buttons at the right
61 ("Human vs. Computer" or "Human vs. Human") to start a new game.
62
63Quitting
64--------
65 To quit 'ttt', either press the [Escape] key on your keyboard, or click the
66 'close' button on the window's titlebar.
67
68
69Enjoy!
70------
71 I hope you like it! You can taylor 'ttt's look to fit your needs by
72 changing the graphics (in the "images" directory) and sound effects
73 (in the "sounds" directory).
74
75 -bill!
76 bill@newbreedsoftware.com
77 March 14th, 2003
78
79
80