├── .gitignore ├── Procfile ├── README.md ├── cmd └── othellobot │ └── main.go ├── gifs ├── replay.gif └── sample-game.gif ├── go.mod ├── go.sum ├── pkg ├── consts │ └── consts.go ├── database │ └── db.go ├── gifmaker │ ├── gif_maker.go │ └── util.go ├── logging │ └── log.go ├── othellobot │ ├── bot.go │ ├── callback_query.go │ ├── chosen_inline_result.go │ ├── consts.go │ ├── inline_query.go │ ├── message.go │ └── util.go ├── othellogame │ ├── cell │ │ └── cell.go │ ├── color │ │ └── color.go │ ├── consts.go │ ├── direction │ │ └── direction.go │ ├── game.go │ └── turn │ │ └── turn.go └── util │ ├── coord │ └── coord.go │ ├── sets │ └── set.go │ └── util.go └── resources ├── black-disk.png ├── board.png ├── board.psd └── white-disk.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/.gitignore -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | worker: bin/othellobot 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/README.md -------------------------------------------------------------------------------- /cmd/othellobot/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/cmd/othellobot/main.go -------------------------------------------------------------------------------- /gifs/replay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/gifs/replay.gif -------------------------------------------------------------------------------- /gifs/sample-game.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/gifs/sample-game.gif -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/go.sum -------------------------------------------------------------------------------- /pkg/consts/consts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/consts/consts.go -------------------------------------------------------------------------------- /pkg/database/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/database/db.go -------------------------------------------------------------------------------- /pkg/gifmaker/gif_maker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/gifmaker/gif_maker.go -------------------------------------------------------------------------------- /pkg/gifmaker/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/gifmaker/util.go -------------------------------------------------------------------------------- /pkg/logging/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/logging/log.go -------------------------------------------------------------------------------- /pkg/othellobot/bot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/othellobot/bot.go -------------------------------------------------------------------------------- /pkg/othellobot/callback_query.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/othellobot/callback_query.go -------------------------------------------------------------------------------- /pkg/othellobot/chosen_inline_result.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/othellobot/chosen_inline_result.go -------------------------------------------------------------------------------- /pkg/othellobot/consts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/othellobot/consts.go -------------------------------------------------------------------------------- /pkg/othellobot/inline_query.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/othellobot/inline_query.go -------------------------------------------------------------------------------- /pkg/othellobot/message.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/othellobot/message.go -------------------------------------------------------------------------------- /pkg/othellobot/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/othellobot/util.go -------------------------------------------------------------------------------- /pkg/othellogame/cell/cell.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/othellogame/cell/cell.go -------------------------------------------------------------------------------- /pkg/othellogame/color/color.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/othellogame/color/color.go -------------------------------------------------------------------------------- /pkg/othellogame/consts.go: -------------------------------------------------------------------------------- 1 | package othellogame 2 | 3 | const boardSize = 8 4 | -------------------------------------------------------------------------------- /pkg/othellogame/direction/direction.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/othellogame/direction/direction.go -------------------------------------------------------------------------------- /pkg/othellogame/game.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/othellogame/game.go -------------------------------------------------------------------------------- /pkg/othellogame/turn/turn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/othellogame/turn/turn.go -------------------------------------------------------------------------------- /pkg/util/coord/coord.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/util/coord/coord.go -------------------------------------------------------------------------------- /pkg/util/sets/set.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/util/sets/set.go -------------------------------------------------------------------------------- /pkg/util/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/pkg/util/util.go -------------------------------------------------------------------------------- /resources/black-disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/resources/black-disk.png -------------------------------------------------------------------------------- /resources/board.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/resources/board.png -------------------------------------------------------------------------------- /resources/board.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/resources/board.psd -------------------------------------------------------------------------------- /resources/white-disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArminGh02/othello-bot/HEAD/resources/white-disk.png --------------------------------------------------------------------------------