Still not working but I'm sure you'll end up solving the problem! Thanks again and good night.
Sorry that it took such a long time, but I finally got it fixed I think. I've uploaded it yesterday to Anki's Shared Plugins (didn't increase the version number though). Anybody who got the UnicodeDecodeError before please try to download it again.
There was a problem with the thousands decimal seperator. Might be a problem with python. Only solution I found is to set the thousands seperator to the American default, instead of getting the users language default from the operation system.
Still no other improvements though; I hope I can work on it a little in the next two weeks. But no promises
yesterday I updated the plugin with as simple online scoreboard. Just upgrade and click the link in Anki Warrior to compare your level with others. Please don't takethe scoreboard to seriously as it doesn't have any security measures against cheating and of course one's progress depends on the style of the deck.
I'll probably add a link to remove your user from the scoreboard in the future; some people might decide later that they don't want to be listed there anymore. After that, I want to work on the gameplay itself again; cities was a nice beginning but it definitely could/should be more exiting.
Edit: Please let me know if there are any problems opening the browser window after clicking on the link for the scoreboard. Thanks.
At first it was interesting, but then as there are 100s of cities it got so monotonous very fast.
It's just my imagination... but it would be cool if you beat some other user with your level (or experience), then you will get a popup that you Beat him! I guess everyone is learning for their own sake so maybe there won't be much cheating (unless winning becomes too addicting:D) It would be cool if this could become a small mini-community, maybe that would make it more addicting.
There could also be a time challenge, like for example you specify some kind of a time goal ...lets say 5 minutes. And then you set the goal number of cards ...lets say 20.
And if you win, you get some bonus points?
And challenging other users could also be an idea, but of course all the things I mention are just purely my ideas...
Last edited by jettyke (2010 December 31, 11:49 am)
nice link :-) I guess implementing some cows would solve all the problems jettyke described ;-)
I can see that it's getting monotonous very fast. Originally , I didn't imagine the plugin to be as it is now. The work which comes with thinking of ranks and equipment, collecting/creating according graphics and putting them all in order made me look for an easier solution after all. And there we have the current AnkiWarrior.
If anybody has some great ideas and wants to improve the current implementation, feel free to take my code and use it fo further development or just use the idea and start from scratch.
I can't make any promises when I will be able to continue the development except for small changes and bug fixes, since i started to work full time recently and prefer to learn Japanese im my free time. Especially with all the comments in this thread I can see there are a lot of great ideas for further improvement. I'd love and really hope to implement them some day.
Hey, what a cool plugin this is. The whole conquering thing made me think about the game "sengoku rance" were you conquer beautiful girls all around Japan. So I started to modify your plugin for personaluse and changed citys to girls and called it nanpANKI, lol.
btw is there anyway to change text and background color? I got no programming skills but figured out how to change some things in your code. Great plugin anyway, hope you continue expanding it.
:edit: I figured out changing the text-color with simple html code but since there is no <body> I can't figure out how to change background color.
:edit2: Meh, I can live with the bg-color. I'm quite happy how I've tweaked the look of things now.
Now to just add some fun sound and 99 more characters. Long night will be long. o_O
that looks really cool :-) To change the background color, you should try something with the setStyleSheet function. I couldn't quickly figure out how to use that appropriately though. Good luck with all of the pictures, I know that it's a lot of work!
I had to settle with 50 girls, but now I'm finally done. I've handpicked japan's finest and it was a pleasure. *drool*
Now if I only knew how to code in python, then I would add so you would get random lines from the girl to make it much more interactive. Then I would also make it so you collect pantsu from all the girls(after you conquered their heart) as a kind of achievement. Would be nice to have a showcase of all kind of colored and designed pantsu were the gold striped pantsu would be the ultimate pantsu from the last girl at lvl 50. huhuhuuu.
thanks a lot for your bug report. Those unicode problems are driving me crazy Anyway, I've uploaded a new version to the shared plugins. Would be great if you could try it. If it still doesn't work I'll try to run ubuntu somehow and try to reproduce the problem to fix it.
I'm not sure if this is a bug, but I just thought that I'd point this out. When you are on a level with 0 exp, then if you try to update your score, your score on the webpage will remain unscored. It's not a big problem so don't worry about it, but if it wouldn't take that long to fix, then could you please fix it.