Compare commits
2 Commits
3cbf7b99af
...
5740077954
Author | SHA1 | Date | |
---|---|---|---|
5740077954 | |||
c803a3bb2b |
@ -16,10 +16,10 @@ steps:
|
|||||||
from_secret: token
|
from_secret: token
|
||||||
commands:
|
commands:
|
||||||
- cp lib/server.ex .
|
- cp lib/server.ex .
|
||||||
- zip server.zip server.ex README.md
|
- zip server.zip server.ex README
|
||||||
- tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN"
|
- tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN"
|
||||||
- tea r rm -y latest || echo "Release not found"
|
- tea r rm -y latest || echo "Release not found"
|
||||||
- tea r c --title "Latest" --asset "README.md" --asset "lib/paxos.ex" --asset "lib/server.ex" --asset "server.zip" latest
|
- tea r c --title "Latest" --asset "README" --asset "lib/paxos.ex" --asset "lib/server.ex" --asset "server.zip" latest
|
||||||
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -23,7 +23,7 @@ The server provides the following API:
|
|||||||
|
|
||||||
## Important Concepts
|
## Important Concepts
|
||||||
|
|
||||||
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_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_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.
|
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.
|
||||||
|
|
Reference in New Issue
Block a user