Jazzepi, let me say 2 things to you.
1) The idea for this calculator is very nice, shame on me for being a n00b and not being able to help.
2)... You are damn lucky having a gf who plays the game with you and helps you programming things, you know???
I mean, if I said to my fiancee "hey, try this game with me, why don't you read this 300 pages manual for the basics, read all the strategy index on the forum for some better strategies and then we play together and learn how to program something about it?"... well, you would talk now with a guy with serious couple's problems