orwell-int / server-game

The server handling the logic and spying on the messages exchanged.
BSD 3-Clause "New" or "Revised" License
2 stars 8 forks source link

Add commands to the proxy to query flags. #148

Closed dchilot closed 3 years ago

dchilot commented 3 years ago

list flag get flag Attributes: id, name, team, RFID json version should be implemented (maybe json list flag is the only one useful for now). Not entirely sure about the RFID. We need to make sure we can override the values on the cards. So that a flag made of multiple cards only has one RFID key.

dchilot commented 3 years ago

Looking at existing code it was easier to just put what we have (colour as a number and RFID as a set of strings). Only list flag was implemented (https://github.com/orwell-int/server-game/pull/149).