Task: play dominoes
Assumptions:
Play dominoes online.
Steps:
Open the online dominoes site.
Each time a player is required to place a tile on the connecting surface.
One of the two values of the tile that corresponds to one of the line's endings.
Pick up a tile till he can, if that's not possible.
Players must pass if there aren't any tiles to take.
 Player wins the round when he places his final tile.