dblock / slack-gamebot

Ping pong, chess, pool and other games bot for Slack.
MIT License
129 stars 103 forks source link

Enable captains to rewrite history (eg. alter scores). #152

Open dblock opened 7 years ago

rclmenezes commented 7 years ago

One solution is to have a command the shows the last few games (gamebot games or gamebot my games or gamebot :player: games) and it reports a unique game_id as well as the scores.

Then we could let losers/captains alter scores using gamebot edit :game_id: :score:.

You could even let winners/captains remove games by doing gamebot remove game :game_id:

dblock commented 7 years ago

Note that removing games is tricky since it requires recalculating elo and it's a 1-way function.

The gamebot matches command gives a summary view of matches, so I would start with supporting something like gamebot matches @player1 @player2 ... and then adding a way to to see detail.