Kawaii - A web-based utility like script/console

In honor of RubyFringe and my love of Ruby, Rails and Open Source, i’m going to release a small Rails project I coded up on the boring airplane ride back from Las Vegas. Kawaii is like a script/console that runs in your web-browser. I’ve been using it for Forumwarz development and it’s worked great so far! Update: Kawaii is now hosted on Google Code. There is a discussion group and issue tracker there! ...

July 20, 2008 · 1 min · eviltrout

Using Metaprogramming for a RPG Battle Engine

Ever wonder what happens behind the scenes when you click on an action on your toolbar in Forumwarz? The action might perform an attack. It might heal you. It might even do both! Some attacks are stronger when you’re weaker, others spawn buffs that protect (or harm you) for multiple turns. How does the game know what to do? Putting Effects in the Database When I was first prototyping Forumwarz, I stored the information for each action as rows in a database table. An Action would have multiple Effects. ...

June 7, 2008 · 4 min · eviltrout