Much-Assembly-Required icon indicating copy to clipboard operation
Much-Assembly-Required copied to clipboard

Achievements

Open simon987 opened this issue 6 years ago • 3 comments

(This is a draft)

It would look something like that:

    // Handle division by zero error
    user.getStats().addToStringSet("achievements", "division-by-zero");

    user.getSet("achievements"); // ["division-by-zero", ... ]
  • Add an column in the /leaderboard page with the number of achievements + a list on click or hover

simon987 avatar Nov 08 '19 15:11 simon987

I would like to tackle this one. Can you give me a bit more info on the task? Like where this Listener should be located. (Or where these achievements will be generated).

imerljak avatar Nov 14 '19 00:11 imerljak

Hi, thank you for the help! For now you can put a dummy achievement division-by-zero (Check if the error flag is set after CPU.execute() was called) just to have something to display in the leaderboard and we can go from there, let me know if you have questions!

simon987 avatar Nov 14 '19 22:11 simon987

Are you still looking for help on this issue? I can make a night of this, maybe get some Game Center/Google Game Server integration too.

OccultSlolem avatar Dec 22 '22 12:12 OccultSlolem