Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions dominoes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Compute an way to order a given set of dominoes in such a way that they form a
correct domino chain (the dots on one half of a stone match the dots on the
neighbouring half of an adjacent stone) and that dots on the halfs of the stones
which don't have a neighbour (the first and last stone) match eachother.

For example given the stones `21`, `23` and `13` you should compute something
like `12 23 31` or `32 21 13` or `13 32 21`, etc.
2 changes: 2 additions & 0 deletions dominoes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
blurb: "Make a chain of dominoes."
11 changes: 11 additions & 0 deletions tournament.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Tally the results of a small football competition. Based on an input file
containing which team played against which and what the outcome was
create a file with a table like this:

```
Team | MP | W | D | L | P
Devastating Donkeys | 3 | 2 | 1 | 0 | 7
Allegoric Alaskians | 3 | 2 | 0 | 1 | 6
Blithering Badgers | 3 | 1 | 0 | 2 | 3
Courageous Californians | 3 | 0 | 1 | 2 | 1
```
2 changes: 2 additions & 0 deletions tournament.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
blurb: "Tally the results of a small football competition."