Compare commits

..

No commits in common. "5740077954eb6f63d3815836acf17bb9d3d02393" and "3cbf7b99afee7a8f301df5c3b523dc4528a80abe" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -16,10 +16,10 @@ steps:
from_secret: token
commands:
- cp lib/server.ex .
- zip server.zip server.ex README
- zip server.zip server.ex README.md
- tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN"
- tea r rm -y latest || echo "Release not found"
- tea r c --title "Latest" --asset "README" --asset "lib/paxos.ex" --asset "lib/server.ex" --asset "server.zip" latest
- tea r c --title "Latest" --asset "README.md" --asset "lib/paxos.ex" --asset "lib/server.ex" --asset "server.zip" latest
trigger:

View File

@ -23,7 +23,7 @@ The server provides the following API:
## Important Concepts
The `game_id` is a number and is an identifier for the game. This can be a number as paxos guarantees that there cannot be two games with same number, as the server would have learned about that decision and would have incremented the number.
The `game_id` is a number and is an identifier for the game. This can be a number that paxos guarantees that there cannot be two games with same number, as the server would have learned about that decision and would have not incremented the number.
The `game_state` is a representation of a game state that corresponds to an array of numbers, and some special atoms, where the number represents the atomic number. The maximum length of this array is 16, so when an array gets bigger than that the game is over.