qixils / gamebot

C# Discord bot that automates games
MIT License
3 stars 2 forks source link

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

Closed Technochips closed 7 years ago

Technochips commented 7 years ago

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

Technochips commented 7 years ago

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.