Anki 2.1 add-on for use with Habitica. Places a progress bar on the bottom of the review screen and scores a Habitica habit when the progress bar reaches the end. Also shows your health, exp, and mana stats as percentages to the right of the progress bar.
For Anki 2.0 see branch anki2.0
For use with Habitica: http://habitica.com
AnkiHabitica places a progress bar on the bottom of the review screen.
As you review, you earn points by answering questions, (optionally) hitting timeboxes, and (optionally) clearing decks.
As you answer questions, your progress bar advances and once it reaches the end (12 flashcards in default), the add-on scores your Anki Points habit that will be created automatically.
After scoring your habit, a pop-up message box will tell you how many XP, HP, Mana, and Gold points you earned (if any) and it will announce if you've levelled up and if you've received any items...
After installation, you'll find a sub-menu called AnkiHabitica under the Tools menu.
The AnkiHabitica only runs on the desktop version of Anki, but as long as you sync your reviews on both ankidroid and the desktop version with ankiweb, the add-on will catch all the reviews.
For version before Anki 2.1.20, you will need to sync your desktop version of Anki with Habitica manually. To do this, simply access the Tools menu from Anki desktop. Then go to AnkiHabitica > Score Habitica Backlog.
If you use newer Anki, addon will automatically score backlog after syncing.
That's how the addon keeps track of things across multiple devices and multiple sessions. You must keep that there.
AnkiHabitica stores some necessary information in the notes field of your Habitica habit. Do not edit the notes field unless you really know what you're doing.
The Score Habitica Backlog function is limited to scoring your habit a maximum of 25 times in a row. This is to prevent the application from appearing to hang; causing the user to think Anki has crashed. In future versions, I may implement a progress bar notification, but for now, this is how it is.
Apparently, video game players start to get impatient when the progress bar is around 80% or so. If you speed up how quickly they acquire points after 80%, you'll get a higher retention rate of players. See Tom Chatfield's TED talk for more: https://www.ted.com/talks/tom_chatfield_7_ways_games_reward_the_brain?language=en
AnkiHabitica's progress bar emulates this behavior. After the bar reaches about 80%, it will progress twice as fast as it normally does.
I occasionally post tips on using Anki and calibrating its settings at https://eshapard.github.io/anki/