
previous

page 1
next
Introduction:
I've invented a new game for this tute. It's inspired by my Poker Solitaire and my Colour Yahtzee. Let's call it Yahtzee Solitaire.
The player is presented with an empty 5 x 5 grid and a coloured counter. She may place it anywhere on the grid. Rows and columns are scored thus:
- one pair: 1
- two pairs: 2
- three of a kind: 5
- a pair and three of a kind: 8
- four of a kind: 12
- five of a kind: 20
Try Yahtzee Solitaire yourself. My best score so far is 58.
Getting Started:
Let's start by generating the grid.
Specifically, just the top row.
Type this line 5 times in Atom and save it as index.html in a new folder, project_2 :
<img src='counters/0.png'>
previous
next