Skip to content

Instantly share code, notes, and snippets.

@codingricky
codingricky / Agile board.md
Last active March 15, 2018 02:26
Agile board

DiUS are keen on this "Agile" thing. We want to develop a tracking system for Agile cards.

Your application should cater for the following:

  • Be able to create cards. Cards have a title, description and estimate in points
  • Cards belong to an iteration
  • Assume a board has only one iteration at the moment
  • An iteration can have multiple columns. (It should have at least two, one starting and one done)
  • There is a column designated as the starting column. And one designated as the done column.
  • Columns have a name
@codingricky
codingricky / gist:6502931
Last active September 10, 2024 10:07
DiUS Tennis Exercise

DiUS is hosting a tennis tournament. To aid with this, we're developing a scoring system.

The scoring system for tennis works like this.

  • A match has one set and a set has many games

  • A game is won by the first player to have won at least 4 points in total and at least 2 points more than the opponent.

    • The running score of each game is described in a manner peculiar to tennis: scores from zero to three points are described as 0, 15, 30, 40, respectively
@codingricky
codingricky / dius_bowling.md
Last active December 13, 2018 04:33
DiUS Bowling Exercise

DiUS is starting a bowling club. To help with the club, we have engaged you to program a scoring system.

The features on the system are:

  • One player only
  • In each frame, the bowler has 2 tries to knock down all the pins
  • If in 2 tries, the bowler fails to knock down all the pins, their score is the sum of the number of pins they've knocked down in the 2 attempts

E.g, if a bowler rolls, 4,4

@codingricky
codingricky / dius_shopping_coding.md
Last active June 25, 2019 17:09
DiUS Shopping Coding Exercise

DiUS is starting a computer store. You have been engaged to build the checkout system. We will start with the following products in our catalogue

SKU Name Price
ipd Super iPad $549.99
mbp MacBook Pro $1399.99
atv Apple TV $109.50
vga VGA adapter $30.00