Compare commits

...

2 Commits

Author SHA1 Message Date
5740077954 removed .mv extension
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-20 22:58:31 +00:00
c803a3bb2b fixed read me 2024-01-20 22:57:44 +00:00
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.md
- zip server.zip server.ex README
- 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.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:

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 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.