Category Archives: ruby

RubyCube 0.1.1 Released

I just released the initial distribution of RubyCube locally. RubyCube 0.1.1 I’m in the process of getting a new ruby forge project setup to host the project files, mirror the source depot and manage bugs. I’m very happy with the … Continue reading

Posted in game programming, ruby, rubycube | Leave a comment

Profile Based Optimization and Test Driven Development

Modern video games can be about as hard to tame as a large fire breathing dragon. It’s usually not until around when the marketing budget is finalized, traditionally around 6 months before release that people start talking about bringing the … Continue reading

Posted in coding, game programming, ruby, rubycube | Leave a comment

RubyCube progress

I got some more time to hack on RubyCube so from my original almost ready post I got the following done: Finished the stress test Finished first pass of documentation (rubydoc) More test cases for basic functionality Perspective transform is … Continue reading

Posted in game programming, ruby, rubycube | 1 Comment

Conway’s Life in Ruby(Cube)

Inspired by the animated patterns in a stress test I put together an implemetation of the original cellular automaton program ‘life’ using ruby and the extension I’ve been hacking on lately. It’s a simple idea but it can produce some … Continue reading

Posted in ruby, rubycube | Leave a comment

RubyCube stress test

Downloading 2+ gig through a VPN link is not very fun so to pass the time I’m doing some stress related tests for RubyCube: For some reason the garbage collector still kicks in and starts reclaiming the shapes even if … Continue reading

Posted in game programming, ruby, rubycube | 1 Comment

RubyCube is almost ready for release

Since I’ve not had a lot of time for home-hack projects lately I’ve been focusing on getting RubyCube ready for release. It’s a small, well contained project, it’s easy to make good progress with only 30 minutes of invested time. … Continue reading

Posted in c++, game programming, ruby, rubycube | 4 Comments

mkmf versus mkrf round 1

So in trying to cleanup a ruby extension (rubycube) for release I revisited the build system trying to get a good cross platform build going. The extconf.rb file that I had created was a thing of ugly and in looking … Continue reading

Posted in ruby, rubycube | 2 Comments