aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2020-04-12(TicTacToe): Setting winning as priority in AI instead blocking opponent.Gravatar ks129-1/+1
2020-04-12(TicTacToe): Implemented AI to game and cog.Gravatar ks129-28/+54
2020-04-12(TicTacToe): Created `AI` class for Tic Tac Toe against computer playing.Gravatar ks129-0/+47
2020-04-09(TicTacToe): Created command to show game information `tictactoe history ↵Gravatar ks129-0/+10
show <game_id>`.
2020-04-09(TicTacToe): Added way to send board to custom channel in `Game.send_board`.Gravatar ks129-1/+3
2020-04-09(TicTacToe): Added new variable to `Game` class: `canceled`, applied it's ↵Gravatar ks129-2/+24
changes and created new `tictactoe history` command.
2020-04-09(TicTacToe): Added loser and winner attaching to `Game.play` winning handling.Gravatar ks129-0/+2
2020-04-09(TicTacToe): Added check that don't allow you to play against yourself to ↵Gravatar ks129-0/+3
`tictactoe` command.
2020-04-09(TicTacToe): Removed unnecessary variable `channel` from `Game`.Gravatar ks129-3/+1
2020-04-09(TicTacToe): Added winner check to `Game.play`.Gravatar ks129-0/+5
2020-04-09(TicTacToe): Created helper function `Game.check_for_win`.Gravatar ks129-0/+18
2020-04-09(TicTacToe): Created `edit_board` function to `Game`, made fixes to ↵Gravatar ks129-2/+29
`Player.get_move`, implemented `Game.play` functionality.
2020-04-09(TicTacToe): Redesigned board system, applied it's changes + created new ↵Gravatar ks129-8/+39
function to `Player` class: `get_move`.
2020-04-09(TicTacToe): Created function `Game.play`.Gravatar ks129-0/+6
2020-04-09(TicTacToe): Removed unnecessary variable creation in `Game.send_board`.Gravatar ks129-2/+1
2020-04-07(TicTacToe): Added `symbol` to player class creation in `tictactoe` command.Gravatar ks129-1/+1
2020-04-07(TicTacToe): Added `symbol` to `Player` class.Gravatar ks129-1/+2
2020-04-07(TicTacToe): Added check is opponent free when request playing.Gravatar ks129-0/+5
2020-04-07(Constants, TicTacToe): Fixed number emojis contants, created helper ↵Gravatar ks129-11/+30
function `send_board` to `Game` class.
2020-04-07(TicTacToe): Moved checks to outside of class, created initial tic tac toe ↵Gravatar ks129-16/+30
command.
2020-04-07(TicTacToe): Created new class variable `over` to `Game`, added over check ↵Gravatar ks129-2/+7
to cog checks.
2020-04-07(TicTacToe): Created check `is_requester_free`.Gravatar ks129-0/+7
2020-04-07(TicTacToe): Created check `is_channel_free`.Gravatar ks129-1/+8
2020-04-07(TicTacToe): Added new variable `games` to `TicTacToe` cog.Gravatar ks129-0/+1
2020-04-07(TicTacToe): Created helper function `add_reactions` to `Game` class to add ↵Gravatar ks129-0/+5
all number reactions to message.
2020-04-07(TicTacToe): Added `get_confirmation` function to `Game` class to make sure ↵Gravatar ks129-0/+41
that opponent want to play.
2020-04-07(Constants, TicTacToe): Added X and O emojis.Gravatar ks129-0/+2
2020-04-07(Constants, TicTacToe): Added confirmation and declining emojis.Gravatar ks129-0/+2
2020-04-07(Constants, TicTacToe): Added number emojis that will be shown in board and ↵Gravatar ks129-0/+13
in reactions.
2020-04-07(TicTacToe): Added new player-about variables to `Game` class.Gravatar ks129-0/+6
2020-04-07(TicTacToe): Replaced `discord.User` with `Player` in `Game` class signature.Gravatar ks129-1/+1
2020-04-07(TicTacToe): Added `ctx` variable to `Player` class.Gravatar ks129-1/+2
2020-04-07(TicTacToe): Created `Game` classGravatar ks129-1/+12
2020-04-07(TicTacToe): Created `Player` classGravatar ks129-0/+8