Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework end of game API call + front-end loading #16

Open
mikhael28 opened this issue Aug 13, 2021 · 0 comments
Open

Rework end of game API call + front-end loading #16

mikhael28 opened this issue Aug 13, 2021 · 0 comments

Comments

@mikhael28
Copy link
Owner

At the end of the game, there are two API calls made for each active player - the first updates their profile, with their new achievements and XP. The second, handles the payout from the Stellar blockchain. I would like to rework these two API calls into one, because they are both related to each other and would make error handling easier.

Right now, the Stellar test net transactions sometimes randomly fail - most likely because of whatever technical limitations of the test-net.

I need to have better error-catching for the API calls sent out in the front-end, with better logic to retry - right now, a failing request might break the other request. Perhaps I should rework this into some sort of a 'Loot Box' scenario, where instead of programmatically awarding the Golf Coin, I require somebody to manually 'ask' for the loot - perhaps this is a way I can monetize, by giving people the chance to earn OR buy 'lootboxes' filled with Golf Coins and other goodies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant