aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | * | | | | | Merge branch 'master' into tic-tac-toeGravatar ks1292020-12-28-1051/+1262
| | | | |\ \ \ \ \ \
| | | | * \ \ \ \ \ \ Merge branch 'master' into tic-tac-toeGravatar Matteo Bertucci2020-11-30-1532/+1347
| | | | |\ \ \ \ \ \ \ | | | | |/ / / / / / / | | | |/| | | | | | |
| | | | * | | | | | | Merge branch 'master' into tic-tac-toeGravatar ks1292020-10-10-214/+1178
| | | | |\ \ \ \ \ \ \
| | | | * | | | | | | | 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
| | | | | | | | | | | |
| | | | * | | | | | | | Merge remote-tracking branch 'origin/tic-tac-toe' into tic-tac-toeGravatar ks1292020-09-24-376/+1252
| | | | |\ \ \ \ \ \ \ \
| | | | | * \ \ \ \ \ \ \ Merge branch 'master' into tic-tac-toeGravatar ks1292020-09-24-376/+1252
| | | | | |\ \ \ \ \ \ \ \
| | | | * | | | | | | | | | Tictactoe: Use __str__ instead custom display method for user/AI name displayGravatar ks1292020-09-24-6/+6
| | | | |/ / / / / / / / /
| | | | * | | | | | | | | Merge remote-tracking branch 'origin/tic-tac-toe' into tic-tac-toeGravatar ks1292020-04-13-3/+29
| | | | |\ \ \ \ \ \ \ \ \
| | | | | * \ \ \ \ \ \ \ \ Merge branch 'master' into tic-tac-toeGravatar ks1292020-04-12-3/+29
| | | | | |\ \ \ \ \ \ \ \ \
| | | | * | | | | | | | | | | (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
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (TicTacToe): Added `symbol` to `Player` class.Gravatar ks1292020-04-07-1/+2
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (TicTacToe): Added check is opponent free when request playing.Gravatar ks1292020-04-07-0/+5
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (Constants, TicTacToe): Fixed number emojis contants, created helper ↵Gravatar ks1292020-04-07-11/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function `send_board` to `Game` class.
| | | | * | | | | | | | | | (TicTacToe): Moved checks to outside of class, created initial tic tac toe ↵Gravatar ks1292020-04-07-16/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | command.
| | | | * | | | | | | | | | (TicTacToe): Created new class variable `over` to `Game`, added over check ↵Gravatar ks1292020-04-07-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to cog checks.
| | | | * | | | | | | | | | (TicTacToe): Created check `is_requester_free`.Gravatar ks1292020-04-07-0/+7
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (TicTacToe): Created check `is_channel_free`.Gravatar ks1292020-04-07-1/+8
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (TicTacToe): Added new variable `games` to `TicTacToe` cog.Gravatar ks1292020-04-07-0/+1
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (TicTacToe): Created helper function `add_reactions` to `Game` class to add ↵Gravatar ks1292020-04-07-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all number reactions to message.
| | | | * | | | | | | | | | (TicTacToe): Added `get_confirmation` function to `Game` class to make sure ↵Gravatar ks1292020-04-07-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that opponent want to play.
| | | | * | | | | | | | | | (Constants, TicTacToe): Added X and O emojis.Gravatar ks1292020-04-07-0/+2
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (Constants, TicTacToe): Added confirmation and declining emojis.Gravatar ks1292020-04-07-0/+2
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (Constants, TicTacToe): Added number emojis that will be shown in board and ↵Gravatar ks1292020-04-07-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in reactions.
| | | | * | | | | | | | | | (TicTacToe): Added new player-about variables to `Game` class.Gravatar ks1292020-04-07-0/+6
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (TicTacToe): Replaced `discord.User` with `Player` in `Game` class signature.Gravatar ks1292020-04-07-1/+1
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (TicTacToe): Added `ctx` variable to `Player` class.Gravatar ks1292020-04-07-1/+2
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (TicTacToe): Created `Game` classGravatar ks1292020-04-07-1/+12
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (TicTacToe): Created `Player` classGravatar ks1292020-04-07-0/+8
| | | | | | | | | | | | | |
| | | | * | | | | | | | | | (TicTacToe): Created initial empty cog with loading.Gravatar ks1292020-04-07-0/+15
| | | | | | | | | | | | | |