qixils / gamebot

C# Discord bot that automates games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creating a game with someone who has an active game breaks stuff

Technochips opened this issue · comments

example:

Person 1: gb!tictactoe new @someone_else
Person 2: gb!tictactoe new @Person1

it's still allowed while Person 1 couldn't make a new game with Person 2

Verified.

Person 1: gb!tictactoe new @Person 3
Person 2: gb!tictactoe new @Person 1
Person 1: gb!tictactoe play 1 1
gamebot: *Cross at 1-1*
Person 2: gb!tictactoe play 3 2
gamebot: *Cross at 3-2, no other cross or circle*
Person 1: gb!tictactoe play 2 1
gamebot: It's not your turn
Person 2: gb!tictactoe play 1 2
gamebot: It's not your turn

If someone has two game in the same channel, he will only be able to play the first game, not the second.