Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
Add print-score script
Browse files Browse the repository at this point in the history
  • Loading branch information
zeus committed Apr 25, 2012
1 parent 2811157 commit 30eeca1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions count-von-count/scripts/dump-laps.js

This file was deleted.

5 changes: 5 additions & 0 deletions count-von-count/scripts/print-score.js
@@ -0,0 +1,5 @@
var i = 1;
db.teams.find().sort({'laps': -1}).forEach(function(team) {
print(i + '. ' + team.name + ' (' + team.laps + ')');
i++;
});

0 comments on commit 30eeca1

Please sign in to comment.