virtualcommons / port-of-mars

Port of Mars is an online, game-based, social science experiment set on the first human community on the Red Planet. We are now in an open beta where anyone aged 18 and over can participate.
https://portofmars.asu.edu
GNU Affero General Public License v3.0
10 stars 16 forks source link

validate incoming web socket messages to game #194

Open cpritcha opened 4 years ago

cpritcha commented 4 years ago
alee commented 4 years ago

validation of incoming messages based on the game state (or phase) seems like a good thing to have, I don't believe we are doing anything like that at the moment..

For example, we should log + disregard trade requests that come in during the discard phase.