Rator Vaders: Week 3

This week I added strings, chars, and function and method calls to Rator Vaders. Now max(“abc”.indexOf(‘c’), (“a” + “b”).length()) can attack Earth! I also added a weighting system to the random expression generator to make it easy to progressively generate more complex expressions as the player advances in the game. Initially, only the arithmetic operators […]

Precedence vs. Evaluation Order

I’ve been working on a little computer science learning game called Rator Vaders. Complex expressions drop from the sky, and the player has to fire at the highest precedent operator and evaluate it. This process continues until only a literal value is left, which can be sent to the Big Bit Bucket in the Sky […]

Rator Vaders: Week 2

Back in May, I said I’d record weekly snapshots of my progress on Rator Vaders. And I would have, except I stopped making progress shortly after I posted my first video. My attention was focused on other business of our ITiCSE working group, like reading papers and playing computer science games like Hack ‘n’ Slash […]

Rator Vaders: Week 1

I’ve had on my TODO list for several years now a simple game for learning operators commonly used in programming. Like %. I’ve wanted to use this in my introductory programming courses, but alas, my TODO list is more of a TODO stack. The oldest items get the least attention. So, I performed a simple […]