This course is no longer maintained and may be out-of-date. While it remains available for reference, its content may not reflect the latest updates, best practices, or supported features.
Leaderboard
We've reached the last part of our Shooter Arena tutorial and we shall be implementing the worldwide leaderboard.
We shall be recording the number of wins and losses each user has and they shall be ranked by the difference. (wins - losses)
We shall be using Hasura Actions to automatically increase the wins
column of the winner and the losses
column of the loser depending on the battle
data.
This way, users don't have permission to update their wins
or losses
columns, ensuring there is no cheating.
Build apps and APIs 10x faster
Built-in authorization and caching
8x more performant than hand-rolled APIs

