Home > intltrade

intltrade

Intltrade is a project mainly written in Ruby, based on the MIT license.

Solution to the International Trade puzzle on http://www.puzzlenode.com (solves original sample data set, but may not solve the final data set due to a lack of Banker's Rounding implementation)

= intltrade

International trade is an RMU puzzle node problem (http://puzzlenode.com/). This is a gem that solves the sample data set included for the problem. It may not solve the full data set on puzzlenode.com due to a lack of Banker's Rounding in my solution.

To run the program against the sample data, simply execute the 'bin/run' script.

To run the tests, simply run 'rspec spec'.

== Contributing to intltrade

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
  • Fork the project
  • Start a feature/bugfix branch
  • Commit and push until you are happy with your contribution
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

== Copyright

Copyright (c) 2011 Ryan LeCompte. See LICENSE for further details.

Previous:FreeBSD-Motd