Yeah, you're right. I think I was just being lazy and wanted to find the shortest way to get what I needed. The other replies lead me to find it elsewhere anyway.
I actually made a couple very simple games for my bot, but I don't have the knowledge to make a game like this, yet. I'm still learning and trying things out. Also, I tend to take existing games and examine the code and learn that way. I've discovered some fun scripts that way too.