Hello,
I have some experience in programming ruby as well as java, (and
certainly enjoy ruby more) but I don’t feel I am that great(eg I can
build tree houses, but I’m no contract carpenter). Part of the solution
is of course simply programming more- to this end I started working on a
Mars game that has mechanics based on “The Settlers” series of RTS
games.
To start I am making a few classes to model the buildings and delivery
or materials to and from other buildings. Currently the program is ~250
lines long and seems to work within my intentions thus far.
Still I can’t help but feel that the code is messy or that I’m doing
things the hard way/non-ruby-way. So before I became to entrenched in
pre-existing code, I thought I would ask if someone would be kind enough
to look through my code and provide suggestions (Although I’m a little
concerned that this list may not be the appropriate place to ask, if so
I apologize in advance).
So if you feel like helping a amateur programmer out, or just interested
in the project in general, here’s where you can find it:
Code available on Google’s Project page
Google Code Archive - Long-term storage for Google Code Project Hosting.
or more directly:
http://rubymars.googlecode.com/svn/trunk/model.rb
Thank you,
Ben Schaffhausen
bhs128 (at) gmail (dot) com