Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phoet/rubygolfhh
RubyGolfHH
https://github.com/phoet/rubygolfhh
Last synced: 26 days ago
JSON representation
RubyGolfHH
- Host: GitHub
- URL: https://github.com/phoet/rubygolfhh
- Owner: phoet
- Created: 2011-06-08T18:44:53.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-06-12T08:19:27.000Z (over 13 years ago)
- Last Synced: 2024-05-01T22:35:56.230Z (6 months ago)
- Language: Ruby
- Homepage:
- Size: 102 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
Awesome Lists containing this project
README
= Ruby Golf HH
== Requirements
* ruby 1.8.7
* RSpec 1.3== How to play
Ruby Golf is a game whereby the player is required to solve a number of problems (holes) in the fewest characters possible. The course consists of eight holes that you must implement. The holes are static methods that need to written for the Golf class (lib/golf.rb). The requirements for these methods is specified by a set of RSpec examples for each hole (spec/golf_spec.rb). To run the specs, simply run:rake
The first time you run this, all tests will fail. The aim is to get all test to pass. Building will also report the number of characters you took to complete the course. The fewer characters you use, the better.
== Acknowledgments
Original version of Ruby Golf by github.com/andrewmcdonough/rubygolf