-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Dwayne edited this page Apr 4, 2015
·
7 revisions
Q1: Does this implementation require a database? No. You could use files or memory for instance.
Q2: What does stateless mean?
Every transaction from the client is atomic and idempotent. That does not mean there is no state, just that the web server does not store any state about the client. The server doesn't maintain correlation between client and game. The client has to tell the server which game the client wants to play and what player the client represents. You could make one move from firefox, another from a shell script, another from a java program, etc. Good Answer on SO
Q3: Can the server be implemented in other langauges? Yes