This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
surfcomp /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README.markdown | ||
| |
RakeFile | ||
| |
cucumber.yml | ||
| |
features/ | ||
| |
lib/ | ||
| |
misc/ | ||
| |
test/ |
README.markdown
Surfcomp!
A little ruby program for running a surfing competition.
I'm modelling this off what I know about my local boardrider's competitions (http://avocaboardriders.com) but I'd like it to be able to model the ASP world tour's format too.
There's a lot to do.
A very basic example
It doesn't do much at the moment. Check out the cucumber features and steps to get a better idea on its current state. Also, have a look at the wiki for some information on surfing competitions.
#Info on our division
name = 'Opens'
competitors = ['Dylan Fogarty-MacDonald', 'Luke Kannar', 'Kelly Slater', 'Matt Graham-Ellison', 'Tom Carroll', 'Barton Lynch', 'Kent MacDonald', 'David MacDonald', 'Manoa Drollet', 'Shane Beschen', 'Luke Egan', 'Mark Occilupo', 'Shane Powell', 'Shaun Oldfield', 'Dave Oldfield', 'Ulrich Jaeger', 'Belynda Jaeger', 'Adrian Buchan', 'Jughead']
#Make the division
division = Division.new(name, competitors)
#First round, opens
round = Round.new(division.competitors)
#Start the round
round.start
#Surfers catch waves, judges judge and so on
#Some of this is supported, but I'm finding it hard to express here
#Finish the round
round.finish
#Competitors move forward to the next round
#...








