1. Are you a gamer? Come join us at GameNotOver.com
    If you are a gamer, then GameNotOver is your new home! Whether you are a PC, PlayStation, Xbox, Nintendo, mobile or web gamer, you will find other gamers to talk with on GameNotOver where you can get help, share reviews of the latest games and gaming technology or even wax nostalgic over the gaming days of old. Come join us and help us grow GameNotOver into a wonderful community for gamers!
    Dismiss Notice

RubySim 1.0 has been released.

Discussion in 'Draft Zone' started by dwmyers, Feb 28, 2007.

  1. dwmyers

    dwmyers Well-Known Member

    2,067 Messages
    67 Likes Received
    About six years ago I released something called the Open Source Draft Simulator. It was written in C++/STL, did deterministic and stochastic drafts, and took me (and a friend) about two months to write.

    Recently I've gotten interested in a language called Ruby because people speak of the immense productivity gains possible with the language. Last weekend I started rewriting my old program. By Sunday night I had a working version of the rewrite. No stochastics, but the team needs language was better than the old one.

    I've released the Ruby code as part of my Sourceforge project.


    You can download a Ruby interpreter here, the "One Click Installer"


    The program is small. Before commenting and adding error checking hooks, it ended up less than 500 lines of code. Printed, it's about 10 pages now. Most of the code simply loads data. The draft calculation loop is perhaps a page in size.

    If you do and you like what it does, tell me about it sometime. I'm interested in describing how a team can draft. That's going to be the primary focus of this Ruby effort.

  2. Ben_n_austin

    Ben_n_austin Benched

    2,898 Messages
    3 Likes Received
    Hmm, sounds very interesting. Obscure - but interesting.

    Good luck. I love the interest level. That's for sure.
  3. dwmyers

    dwmyers Well-Known Member

    2,067 Messages
    67 Likes Received
    Obscure, perhaps, until you start doing Google searches on a framework called "Ruby on Rails." The guy who wrote the Tomcat and Ant http servers is now an unabashed Rails fanatic.

    In other words, I've translated my drafting engine into the hottest language for web page development around. C++ tends to intimidate people because it's difficult to write in.

    Ruby, by comparison, is a compact, friendly language.


Share This Page