Openseed API - Update: Leader-boards are live

in #gamedevlast year

Leader Boards

used to be Highscores

After much deliberation the leader board functions are now included in the git repo for openseed-steem-godot and I believe will give the users and developers the best mix of functionality and decentralization for future projects. The over all process should save the game developer over 50 lines of code within Godot and at least 20 on the server side.

However, the benefit lies not in how much code is saved, but how much code is now required. As an example to use the new leader board functions the game dev would use these lines of code (after importing the openseed-steem-godot files)

scores = openseed.get_leaderboard(devID,appID)

or

openseed.update_leaderboard(username,[score:500,kills:100])

get_leaderboard

returns the leaderboard for the supplied dev and app ids. This data will need to be formatted based on the needs of the game, however a sample implementation is provided in the git repo.

update_leaderboard

Formats and sends the data to STEEM and OpenSeed where the get_leaderboard function retrieves those scores. Both functions require serveral variables to be set within the program including the posting key for the account you want to use to validate the data on STEEM. Given that this may be a security concern it would be advisable to create a "company" account and use that posting key for any game developed. Most game engines provide ways to secure sensitive data and when a suitable method is found it will be added to the library.


Games

For testing purposes I'll be adding the repo and the code to my Godot engine port of Codebreakers (pictured below.) If all goes well there will be a tutorial written here so that others can follow suite.

Screenshot from 20190131 195157.png


New Account

As mentioned in the last post, OpenSeed is meant to be used by anyone that wants to use STEEM to augment their game without having to reinvent the same basic functions that all games require and disconnected from my own game and application projects. So I have created a new account just for this purpose (@openseed), all proceeds generated by this account will be used to further the project and help fund new projects that use OpenSeed and STEEM for network services. Also as a part of this initiative the OpenSeed account will post weekly reports based on the games and applications that use it. The hope is that though automated reports aren't considered "great" content it will give those that wish to help the project grow a way to show their support through up voting the content. It will also be the source for any information on OpenSeed and new features as well as Game Jams and other promotions once the coffers allow.

Thanks for reading, be sure to follow @openseed, @v-entertainment, for official updates on my projects.

Sort:  

This post was shared in the Curation Collective Discord community for curators, and upvoted and resteemed by the @c-squared community account after manual review.
@c-squared runs a community witness. Please consider using one of your witness votes on us here

Hi @bflanagin!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 3.940 which ranks you at #4277 across all Steem accounts.
Your rank has improved 53 places in the last three days (old rank 4330).

In our last Algorithmic Curation Round, consisting of 144 contributions, your post is ranked at #24.

Evaluation of your UA score:
  • You're on the right track, try to gather more followers.
  • The readers appreciate your great work!
  • Try to work on user engagement: the more people that interact with you via the comments, the higher your UA score!

Feel free to join our @steem-ua Discord server

Hi, @bflanagin!

You just got a 1.33% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Allonian_Seed

 last year Reveal Comment