Open axl89 opened 2 years ago
Started work in https://github.com/ass-a-service/ajobot/pull/35
Maybe use redis keyspace notifications for expiring keys for the steal action? Something like:
usera:steal
) so the user can't steal from more people. This key is to expire in t seconds (probably related with the size of n).EDIT: I think this is a bad way of implementing it. Maybe using delayed tasks instead?
Implement the
/steal
command to steal ajos from other players. It should be possible for the other player (if the player realizes that it's being robbed) to knock the stealer back and prevent this from happening. Maybe removing some ajos from the stealar? Or increasing bad karma? It was @Zymna 's idea after all, man.