- 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.
-
- Jan 09, 2023
-
-
Sam Ruberti authored
-
Léa Narzis authored
-
- Jan 07, 2023
-
-
Sam Ruberti authored
## Turn on logs here <img width="821" alt="Screen Shot 2023-01-04 at 2 33 04 PM" src="https://user-images.githubusercontent.com/2101499/210634815-615638ed-1079-4558-ba5d-3f4997140edc.png"> ## Game Event Logs <img width="1919" alt="Screen Shot 2023-01-04 at 2 46 23 PM" src="https://user-images.githubusercontent.com/2101499/210636957-13f2b253-1d3f-4aa6-be77-c832930e9a91.png">
-
- Jan 06, 2023
-
-
Sam Ruberti authored
* Add Setup tutorial * Add beginner's workshop tutorial I will chat with Lauren tomorrow about what we can do for an advanced workshop. There are a bunch of additional ink! Macros we can explore.
-
- Jan 04, 2023
-
-
Alexander Theißen authored
The new ink! beta wraps cross contract calls into a `Result<T, LangError>`. Our low level cross contract call didn't account for that and hence failed to decode the `Turn`. It just decoded garbage which then turned out to be out of bounds. @xermicus You need to make sure that your handwritten sol contract wraps the value as to game expects this after this PR is merged. `Option` just prepends one byte (0=None, 1=Some).
-
Sam Ruberti authored
-
- Dec 27, 2022
-
-
Sam Ruberti authored
* Fix UI so it works with Weights V2 * Massively improve the core library for `useInk()` - typed hooks, etc * Add audio tracks and sound effects * Add event notifications for all player turns * Add new dark mode (See screenshot) <img width="1919" alt="Screen Shot 2022-12-23 at 5 21 55 PM" src="https://user-images.githubusercontent.com/2101499/209410231-da89d991-e713-4b3e-a47d-912980681d66.png">
-
- Dec 15, 2022
-
-
Alexander Theißen authored
-
- Nov 23, 2022
-
-
Alexander Theißen authored
-
Sam Ruberti authored
-
- Nov 21, 2022
-
-
Sam Ruberti authored
* Add UI changes * Add Contract Events * Add Notifications for contract calls * Add Sound for event types * Add game tracks - mp3s are committed to this branch. Netlify will host them on deploy, but I'm happy to use a centralized storage system if we have one... (Sorry for the huge PR)
-
- Nov 15, 2022
-
-
Sam Ruberti authored
* Allow for emojis in player name - Emojis are typically 3 bytes so player names were failing before bc/ of the size. I increased this to 16 bytes max so characters + emojis can be a reasonable length. * Refactor: Add a single instance of the game contract to be used by multiple functions (Image shows 24 bytes, but I changed it back to 16 in code) <img width="402" alt="Screen Shot 2022-11-15 at 5 09 58 PM" src="https://user-images.githubusercontent.com/2101499/202035698-a21eaef2-ea47-42a2-bf44-fd7dfaff6a87.png"> Lottie animation ----------------- <img width="1918" alt="Screen Shot 2022-11-15 at 6 14 53 PM" src="https://user-images.githubusercontent.com/2101499/202044865-f6ddbd1d-15f2-444a-9cd7-43e0eb94dfb5.png">
-
Sam Ruberti authored
* Make scoreboard scrollable * Misc UI changes
-
- Nov 11, 2022
-
-
Alexander Theißen authored
Fixes #20 We can't add an event for scoreboard changes. The contract is not stateful with regard to the scoreboard and shouldn't be. If this should be accomplished the Dapp needs to implement it by polling for a specific game it is watching. Also changes `(u32, u32)` to a `struct Field { x, y }` everywhere. They are SCALE compatible so ABIs won't break. Could still break the frontend. @DoubleOTheven Can you check if your Dapp still works with this new contract?
-
- Nov 09, 2022
-
-
Sam Ruberti authored
-
- Oct 27, 2022
-
-
Sam Ruberti authored
-
Sam Ruberti authored
-
Michael Müller authored
-
Michael Müller authored
-
Michael Müller authored
-
Michael Müller authored
-
Michael Müller authored
-
Michael Müller authored
-
Michael Müller authored
-
Sam Ruberti authored
-
Sam Ruberti authored
-
Sam Ruberti authored
-
Sam Ruberti authored
-
- Oct 26, 2022
-
-
Alexander Theißen authored
-
Alexander Theißen authored
-