This is Extreme Startup. This software supports a workshop where teams can compete to build a software product that satisfies market demand.
NB don't show the players the code for this project until after the workshop as otherwise they can cheat.
-
Install Ruby 1.9.2 and rubygems
-
(For Windows)
- Install Ruby DevKit
- Extract to (e.g.) c:\devkit
- cd c:\devkit
- ruby dk.rb init
- Edit the file config.yml (Add the locations where ruby is installed e.g. c:\Ruby192)
- ruby dk.rb install
-
Install dependencies:
cd ../<exstreme startup dir>
gem install bundler
bundle
- Start the game server
ruby web_server.rb
-
Run the server on your machine. It's a Sinatra app that by default runs on port 3000.
-
Everyone needs a computer connected to the same network, so that they can communicate. Check that everyone can see the leaderboard page served by the webapp running on your machine. Depending on the situation, we have used a local/ad-hoc network and that is ok for the game.
-
We have had trouble with things like firewalls, especially on some Windows laptops, so if there are problems, make sure you can ping clients from the server and vice versa.
-
Warmup round: run the web server with the
WARMUP
environment variable set:
$ WARMUP=1 ruby web_server.rb
-
In the warmup round, just make sure that everyone has something technologically working, you just get the same request repeatedly. @bodil has provided some nice sample players in different languages.
-
Real game: revert to using the full QuizMaster, and restart the server. This will clear any registered players, but that's ok.
-
As the game progresses, you can introduce new question types by moving to the next round (hit the /advance_round url). Do this when you feel like some of the teams are making good progress in the current round. Typically we've found this to be about every 10 mins. But you can go faster/slower as you like. There are 6 rounds available.
-
Set a time limit so you know when to stop the game, declare the winner, and retrospect.
-- Robert Chatley and Matt Wynne 2011.
- http://chatley.com/posts/05-27-2011/extreme-startup/
- http://johannesbrodwall.com/2011/06/22/real-time-coding-competition-with-extreme-startup/
- http://www.nilswloka.com/2011/08/17/code-dojo-extreme.html
If you run this workshop, please write it up on the internet and send us a link to add to this list.