Skip to content

Hacknight: RTanque

Photo of Charlie
Hosted By
Charlie
Hacknight: RTanque

Details

First meet up at our new location!

Hacknight is our project-focused hangout that meets at the midpoint between our main monthly meetings. Bring your own project to work on or join the group in hacking on the topic of the month. Whether you are a Ruby newbie, a metaprogramming master, or a hacker of another language, we can't wait to see what cool things we can create together!

Social hour starts at 1800. Code starts at 1900.

This month's topic: RTanque

We'll be hacking on bots for RTanque (https://github.com/awilliams/RTanque), a game for Ruby programmers. Players program the brain of a tank and then send that tank to battle against other players' tank brain programs. Implementing a tank brain may sound like a difficult or time consuming task, but the API is pretty straightforward and easy to use. I put together a simple bot (https://github.com/stlruby/rtanque/blob/master/bots/murder_bot.rb) in less than 30 minutes that provides a decent challenge against the keyboard controlled bot. I will give a quick runthrough of the API and some sample bots, then we will alternate between rounds of bot development and play for the rest of the night.

Note: I recommend using Ruby 1.9.3 with RTanque. It depends on Gosu which isn't compatible with Ruby 2.0 on my system.

Photo of STLRuby group
STLRuby
See more events
The Able Few
333 Beaumont · Saint Louis, MO