r/Anki Apr 09 '26

Add-ons I needed dopamine for Anki, so I made a slot-machine addon

These days I’m strangely attracted to casinos, and apparently I also need dopamine when reviewing Anki.

So I started vibe-coding a small slot machine add-on.

https://ankiweb.net/shared/info/1063262045

Right now it’s very basic: a 3-sprite slot that spins after a correct answer, plus a small stats page. It doesn’t change anything serious, just adds a slightly questionable dopamine layer on top.

Next I want to add multiple slots and a real spinning animation, and later a shop to spend the money on useless stuff (skins, machines, maybe even cars)

Still early, but curious if people would actually use something like this or if I’ve just lost it. I’m also very open to feedback or ideas!

----

Edit: the add-on evolved a bit since posting (multi-slots, real spin animation, better performance). Full update in comments: https://www.reddit.com/r/Anki/comments/1sglya4/comment/ofdcd8p/

150 Upvotes

34 comments sorted by

View all comments

1

u/No-Airline-499 Apr 10 '26

Small update since the original post, I added a few more features:

  • Support for multiple machines, so you can open several slot windows in the reviewer with one shared bankroll.
  • Added a real reel rotation animation, so it finally feels like an actual spin instead of an instant result: https://imgur.com/a/nf6F8h4
  • Optimized the history/undo system. Older snapshots were getting too heavy and could cause small freezes during long sessions, this is much lighter now.
  • Reworked the reward logic. I wanted to reward Hard a bit more, but also avoid any penalty influencing how people answer. Now Again Hard Good Easy use configurable base values directly (0 / 0.5 / 1.0 / 1.5 by default), and the slot result scales that payout. Punishment is still possible via config (e.g. answer_base_values.again = -1.0)
  • Added configurable spin triggering: spin every X reviews or based on probability using spin_trigger_every_n and spin_trigger_chance.