From 7f734540e7a28a139c1cb2784e0f365a6ddab188 Mon Sep 17 00:00:00 2001 From: parth Date: Sun, 1 Oct 2023 18:15:21 +0530 Subject: [PATCH] added tic tac toe project idea --- Projects/2-Intermediate/tic-tac-toe.md | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Projects/2-Intermediate/tic-tac-toe.md diff --git a/Projects/2-Intermediate/tic-tac-toe.md b/Projects/2-Intermediate/tic-tac-toe.md new file mode 100644 index 00000000..06e7e2fc --- /dev/null +++ b/Projects/2-Intermediate/tic-tac-toe.md @@ -0,0 +1,29 @@ +# Tic Tac Toe + +**Tier:** 2-Intermediate + +Tic Tac Toe is a timeless classic that has been enjoyed by people of all ages for generations. This app brings the traditional game to your device, allowing you to play against a friend or challenge an AI opponent. + +## User Stories + +- [ ] Users can take turns to place their symbols (X or O) on the 3x3 grid by tapping on an empty cell. +- [ ] Users can see visual feedback when a cell is selected. +- [ ] Users can see the game status, including whose turn it is and if there's a winner or a draw. +- [ ] Users are notified when the game is over (someone wins or it's a draw). +- [ ] Users can start a new game after the current one ends. +- [ ] Users can track their wins, losses, and draws in a scoreboard. + +## Bonus features + +- [ ] Users can review the game history, including previous moves and outcomes. +- [ ] Users can choose between playing against a friend (local multiplayer) or playing against the AI (single-player mode). + +## Useful links and resources + +- [Tic Tac Toe Game (Wikipedia)](https://en.wikipedia.org/wiki/Tic-tac-toe) +- [Minimax Algorithm for Tic Tac Toe](https://en.wikipedia.org/wiki/Minimax) +- [Tic Tac Toe AI with Minimax Algorithm (youtube)](https://youtu.be/trKjYdBASyQ) + +## Example projects + +- [TicTacToe-MiniMax-Ai](https://github.com/sheharyarroshan/TicTacToe-MiniMax-Ai) \ No newline at end of file