Skip to content

Commit 04cee98

Browse files
committed
Edit readme
1 parent dc04ec1 commit 04cee98

File tree

1 file changed

+22
-9
lines changed

1 file changed

+22
-9
lines changed

README.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,35 @@
11
# TicTacToe
22

3+
Console TicTacToe game implemented with C++.
4+
35
Preview:
46
![Screenshot from 2022-10-20 12-27-06](https://user-images.githubusercontent.com/46300167/196924760-6e5c174e-adf0-4cde-8aae-5a7d5a8f39c9.png)
57

68
## Usage:
7-
8-
Starts the game
99
```
10-
tictactoe
10+
tictactoe [flags]
1111
```
1212

13-
Starts the game and sets width to height to given size
13+
## Flags
14+
Displays help:
15+
```
16+
-h
17+
```
18+
Sets size of playing board:
1419
```
15-
tictactoe <width> <height>
20+
-s [width] [height]
1621
```
22+
Sets win length:
23+
```
24+
-w [win length]
25+
```
26+
27+
Default board size is 3x3, win length is 3.
28+
29+
When you start the game, you can type 'quit' to exit the game.
1730

18-
Type 'quit' to exit the game
31+
## Links
1932

20-
Links:
21-
[Author GitHub](https://github.com/Martan03)
22-
[Author website](https://martan03.github.io/Portfolio/)
33+
- **Author:** [Martan03](https://github.com/Martan03)
34+
- **GitHub repository:** [TicTacToe](https://github.com/Martan03/TicTacToe)
35+
- **Author website:** [martan03.github.io](https://martan03.github.io)

0 commit comments

Comments
 (0)