That's fine, I didn't get breaks in High School, so I beat Chain of Memories in the restroom, since having game systems aren't allowed in my school unless they serve an educational purpose and I left after I finished my test. Thank god for headphones hehe.
On a related note, Super Smash Bros. Melee once got me an A in Math. We were suppose to create a board game that used some form of math, so I created one based on Mario Party, only I replaced Minigames with a 1-Stock match in Melee. I even made a game piece for each of the playable characters in Melee, as well as cards for 'What If' characters that could make it into Brawl (they were Sonic, MegaMan, Geno, & Sora). The teacher was gone and the sub we got was sleeping on her desk, so we played Melee the entire time. When she got back, she said I would have to demonstrate it again, but everyone in the class said my game was the greatest, so she changed her mind and gave me an A.