aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/tic_tac_toe.py (follow)
Commit message (Collapse)AuthorAgeLines
* Move game and fun commands to Fun folder, fix ddgGravatar Janine vN2021-09-05-335/+0
| | | | | | | | | | | This moves all the fun commands and games into the fun folder. This commit also makes changes to the duck_game. It was setting a footer during an embed init, which is no longer possible with the version of d.py we use. Additionally, an issue with editing an embed that had a local image loaded. The workaround for the time being is to update the message, not the embed.
* Fix type annotationsGravatar decorator-factory2021-08-31-12/+12
|
* display player names in drawn matchGravatar Shantanu Singh2021-06-09-1/+1
|
* resolved indentation errorGravatar Shantanu Singh2021-06-08-1/+1
|
* resolved syntax errorGravatar Shantanu Singh2021-06-08-5/+7
|
* resolved linting error with if-elseGravatar Shantanu Singh2021-06-08-1/+4
|
* embed displays draw condition on show commandGravatar shantanusingh10692021-06-08-1/+1
|
* Merge branch 'main' into fix/tttGravatar Kieran Siek2021-06-07-5/+4
|\
| * chore: Apply suggested changesGravatar ToxicKidz2021-05-04-2/+2
| |
| * chore: Prefer double quotes over single quotesGravatar ToxicKidz2021-05-04-1/+1
| |
| * chore(evergreen): remove unneeded cog constructorsGravatar vcokltfre2021-04-19-2/+1
| |
| * chore(evergreen): format each cog load docstring the same wayGravatar vcokltfre2021-04-19-1/+1
| |
* | (tic-tac-toe): Use embeds for showing previous game boardsGravatar Shivansh2021-05-15-2/+6
| |
* | (tic-tac-toe): Update x and o emojiGravatar Shivansh2021-05-15-3/+3
|/
* Removed requesting to bots. Added grammer.Gravatar JagTheFriend2021-03-10-3/+7
|
* Decrease timeout from 120 sec to 30 secGravatar ks1292021-01-24-1/+1
|
* Fix indentionGravatar ks1292021-01-17-1/+1
|
* Remove unnecessary line splitGravatar ks1292021-01-17-3/+1
| | | Co-authored-by: Xithrius <[email protected]>
* Fix too long lineGravatar ks1292021-01-16-1/+4
|
* More grammar fixesGravatar ks1292021-01-16-2/+2
|
* Improve "your turn" messageGravatar ks1292021-01-16-1/+1
|
* Add missing a articleGravatar ks1292021-01-16-1/+1
| | | Co-authored-by: ChrisJL <[email protected]>
* Fix grammarGravatar ks1292021-01-16-1/+1
| | | Co-authored-by: ChrisJL <[email protected]>
* Move Tic Tac Toe board to embed descriptionGravatar ks1292021-01-16-2/+6
|
* Simplify check_win function returningGravatar ks1292021-01-09-12/+12
|
* Corrected small spelling mistake.Gravatar xithrius2021-01-08-4/+4
|
* Tictactoe: Fix docstrings formattingGravatar ks1292020-09-24-6/+2
|
* Tictactoe: Document another checkGravatar ks1292020-09-24-0/+3
|
* Tictactoe: Remove duplicate functionsGravatar ks1292020-09-24-38/+24
|
* Tictactoe: Document `get_confirmation` return valueGravatar ks1292020-09-24-1/+7
|
* Tictactoe: Refactor board message content generationGravatar ks1292020-09-24-28/+9
|
* Tictactoe: Use __str__ instead custom display method for user/AI name displayGravatar ks1292020-09-24-6/+6
|
* (TicTacToe): Applied `Player.display()` and `AI.display()` to cog and `Game` ↵Gravatar ks1292020-04-13-8/+4
| | | | class.
* (TicTacToe): Created new helper functions `display` to `Player` and `AI` ↵Gravatar ks1292020-04-13-0/+8
| | | | class to avoid `if` checks in strings.
* (TicTacToe): Setting winning as priority in AI instead blocking opponent.Gravatar ks1292020-04-12-1/+1
|
* (TicTacToe): Implemented AI to game and cog.Gravatar ks1292020-04-12-28/+54
|
* (TicTacToe): Created `AI` class for Tic Tac Toe against computer playing.Gravatar ks1292020-04-12-0/+47
|
* (TicTacToe): Created command to show game information `tictactoe history ↵Gravatar ks1292020-04-09-0/+10
| | | | show <game_id>`.
* (TicTacToe): Added way to send board to custom channel in `Game.send_board`.Gravatar ks1292020-04-09-1/+3
|
* (TicTacToe): Added new variable to `Game` class: `canceled`, applied it's ↵Gravatar ks1292020-04-09-2/+24
| | | | changes and created new `tictactoe history` command.
* (TicTacToe): Added loser and winner attaching to `Game.play` winning handling.Gravatar ks1292020-04-09-0/+2
|
* (TicTacToe): Added check that don't allow you to play against yourself to ↵Gravatar ks1292020-04-09-0/+3
| | | | `tictactoe` command.
* (TicTacToe): Removed unnecessary variable `channel` from `Game`.Gravatar ks1292020-04-09-3/+1
|
* (TicTacToe): Added winner check to `Game.play`.Gravatar ks1292020-04-09-0/+5
|
* (TicTacToe): Created helper function `Game.check_for_win`.Gravatar ks1292020-04-09-0/+18
|
* (TicTacToe): Created `edit_board` function to `Game`, made fixes to ↵Gravatar ks1292020-04-09-2/+29
| | | | `Player.get_move`, implemented `Game.play` functionality.
* (TicTacToe): Redesigned board system, applied it's changes + created new ↵Gravatar ks1292020-04-09-8/+39
| | | | function to `Player` class: `get_move`.
* (TicTacToe): Created function `Game.play`.Gravatar ks1292020-04-09-0/+6
|
* (TicTacToe): Removed unnecessary variable creation in `Game.send_board`.Gravatar ks1292020-04-09-2/+1
|
* (TicTacToe): Added `symbol` to player class creation in `tictactoe` command.Gravatar ks1292020-04-07-1/+1
|