by Oleh Mykhaylovych | Apr 15, 2024 | Gaming, Technical, WAX
In our previous article, we looked at swaps, token stakes, and governance mechanisms. Building on that foundation, in this article we will also explore leaderboard functionality and delve into quests in the context of the game ecosystem. Leaderboards A leaderboard is...
by Oleh Mykhaylovych | Apr 15, 2024 | Gaming, Technical, WAX
In this article, we will add a quest system that will allow us to engage more with the players in our games. Let’s add the necessary tables struct quest { std::string type; float required_amount; float current_amount; }; struct [[eosio::table]] quests_j...
by Oleh Mykhaylovych | Apr 15, 2024 | Gaming, Technical, WAX
In this article, we will analyze the creation of leaderboards and consider the implementation of a leaderboard for user resources and their overall mining rate. New tables struct [[eosio::table]] lboard_j { name account; uint64_t points; uint64_t primary_key()...
by Oleh Mykhaylovych | Apr 15, 2024 | Gaming, Technical, WAX
In addition to the previous articles integrating it into a ReactJS interface, and reading data from a WAX smart contract table, we will also dive deeper into swaps. We will look at the use of WAX tokens or NFTs in games and how user/player governance works. Token...
by Oleh Mykhaylovych | Apr 15, 2024 | Gaming, Technical, WAX
In this article, we will develop a voting system that will allow users to provide developers with suggestions or change the value of game changes. Creating configs table struct [[eosio::table]] mconfig_j { std::string variable_name; std::string variable_type;...