- Feb 02, 2023
-
-
Michael Müller authored
-
Michael Müller authored
-
Michael Müller authored
-
Alexander Theißen authored
-
- Feb 01, 2023
-
-
Alexander Theißen authored
-
Alexander Theißen authored
-
Alexander Theißen authored
-
Alexander Theißen authored
-
Alexander Theißen authored
-
Andreea Eftene authored
-
Alexander Theißen authored
-
Alexander Theißen authored
- higher game rounds give more score per field - pass some info into the player contract - allow contracts to sit out a turn and not pay gas
-
Alexander Theißen authored
-
Alexander Theißen authored
-
- Jan 29, 2023
-
-
Alexander Theißen authored
-
Andreea Eftene authored
- remove frontend sort - players are now sorted in the contract - remove interactivity - turns are externally triggered - call new `isRunning` contract method
-
Alexander Theißen authored
-
Alexander Theißen authored
-
- Jan 28, 2023
-
-
Alexander Theißen authored
Game should be enable when all fields are painted. No more turns are valid then.
-
Andreea Eftene authored
-
Alexander Theißen authored
-
Alexander Theißen authored
-
Alexander Theißen authored
-
Alexander Theißen authored
-
Alexander Theißen authored
-
- Jan 26, 2023
-
-
Alexander Theißen authored
-
Alexander Theißen authored
- `submit_turn` does the turns for all players now - A new round is only started after this message was called (not after each block) - Everyone can call this message but we will also just submit it in a loop so the game just keeps running - Added e2e test that just runs through the happy path of playing a game with two players We just want to make sure that once player uploaded their contract we are not dependent on them submitting transactions. They can just watch their contracts fighting it out.
-
- Jan 23, 2023
-
-
Sam Ruberti authored
-
Sam Ruberti authored
-
Sam Ruberti authored
-
- Jan 20, 2023
-
-
Sam Ruberti authored
-
Sam Ruberti authored
-
- Jan 18, 2023
-
-
Léa Narzis authored
In the wake of proposing international workshops, the content translation has been completed : - Add Language Selector on the forming page - Add Game Rules Translation for the 3 languages
-
- Jan 17, 2023
-
-
Sam Ruberti authored
* Add event in Game/lib.rs * Add fun event messages for the UI using i18n * Misc cleanup
-
- Jan 13, 2023
-
-
Sam Ruberti authored
-
Sam Ruberti authored
This reverts commit 3a592f6d.
-
Sam Ruberti authored
-
- Jan 12, 2023
-
-
Léa Narzis authored
In order to achieve i18n for the workshop https://github.com/paritytech/ink-workshop/issues/22, and complete https://github.com/paritytech/ink-workshop/pull/34, most of the content was also translated into French. Spanish Translation will follow in another PR.
-
Sam Ruberti authored
-
- Jan 10, 2023
-
-
Alexander Theißen authored
Previous scoring formula that assigned bonus points based on gas usage was confusing. Now: - One point per painted field. - There is a overall gas limit a contract can use. - Specified per round on game construction. The overall budget for all rounds per player is derived from that parameter. Can be set to some fraction of the gas consumed of the basic player per round. Only a fraction so that not every block a turn must be submitted in order to win. Try `500_000_000` (500 us). The less rounds you play the closer it needs to be to the actual usage to allow for actual turns. For the UI nothing much changes. I recommend displaying gas left instead of gas used per player in the player list. Can be calculated by querying the new `gas_limit` function of the contract and subtracting the used gas of the player from it.
-