From 5dacb2343c1180411a72237f8498a119ca18f9ed Mon Sep 17 00:00:00 2001 From: konbo Date: Sun, 11 Oct 2020 02:52:37 +0530 Subject: [PATCH 1/3] TicTacToe Game (new) --- Projects/1-Beginner/TicTacToe-Game.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Projects/1-Beginner/TicTacToe-Game.md 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/) From fae207473a68a8f2a4cb3c525b36a2e214656cb7 Mon Sep 17 00:00:00 2001 From: konbo Date: Sun, 11 Oct 2020 02:57:43 +0530 Subject: [PATCH 2/3] README updated --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f6557617..7a86b07c 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 | From 1a61fbfe415b8aa196d88e65661afad84786251c Mon Sep 17 00:00:00 2001 From: konbo Date: Sun, 11 Oct 2020 03:02:17 +0530 Subject: [PATCH 3/3] README typo fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a86b07c..1ed8b1fc 100644 --- a/README.md +++ b/README.md @@ -73,7 +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 | +| [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 |