diff --git a/Projects/1-Beginner/TicTacToe-Game.md b/Projects/1-Beginner/TicTacToe-Game.md new file mode 100644 index 00000000..189e3d58 --- /dev/null +++ b/Projects/1-Beginner/TicTacToe-Game.md @@ -0,0 +1,26 @@ +# TicTacToe Game + +**Tier:** 1-Beginner + +Solving the usual problems found in tutorials are good for practice but can get boring very soon. +So why not create a TicTacToe game for yourself to play against the CPU? + + +## User Stories + +- [ ] User can select either "X" or "O" to play with. +- [ ] CPU randomly decides who gets to play the first move. +- [ ] Check if either one won or is it a draw. If not continue. +- [ ] Game continues until draw or either of them wins. +- [ ] Game restart or exit. + +## Bonus features + +- [ ] A counter of total wins-losses against the CPU. +- [ ] Use algorithms to make the CPU harder to defeat. + + +## Useful links and resources + +- [Strategy](https://en.wikipedia.org/wiki/Tic-tac-toe#Strategy) +- [Use of Minmax algorithm in TicTacToe](https://www.freecodecamp.org/news/how-to-make-your-tic-tac-toe-game-unbeatable-by-using-the-minimax-algorithm-9d690bad4b37/) diff --git a/README.md b/README.md index 2d209743..e91ebfb6 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,7 @@ required to complete them. | [Roman to Decimal Converter](./Projects/1-Beginner/Roman-to-Decimal-Converter.md) | Convert Roman to Decimal numbers | 1-Beginner | | [Slider Design](./Projects/1-Beginner/Slider-Design.md) | Display images using a slider control | 1-Beginner | | [Stopwatch App](./Projects/1-Beginner/Stopwatch-App.md) | Count time spent on activities | 1-Beginner | +| [TicTacToe Game](./Projects/1-Beginner/TicTacToe-Game.md) | TicTacToe Game against CPU | 1-Beginner | | [TrueOrFalse](./Projects/1-Beginner/True-or-False-App.md) | Identify the result of a conditional comparison | 1-Beginner | | [Vigenere Cipher](./Projects/1-Beginner/Vigenere-Cipher.md) | Encrypt text using the Vigenere Cypher | 1-Beginner | | [Wind Chill](./Projects/1-Beginner/Windchill-App.md) | Calculate the windchill factor from an actual temperature | 1-Beginner |