drakard.com

website design, development and marketing

drakard.com masthead

Javascript Games

These are the games I originally wrote for irt.org way back in the late 1990s. The coding of some of these was described in more detail in the Instant Javascript book (and I may well post the writeups here later).

As you may imagine, they were written when no-one thought twice about HTML table layouts and single pixel image kludges, so they all need updating to be fully compliant with web standards in the 21st century... But in the meantime, they still work and are still fun - so enjoy :)

Tetris

Tetris Fill as many rows as you can by guiding the various shapes falling from the top into suitable positions at the bottom. As your score increases, so does the rate at which the pieces fall…

Towers of Hanoi

Towers of Hanoi Said to have been performed by monks for thousands of years, simply moving a set of discs from one pole to another; the catch? You can only move one disc at a time, and never onto a smaller disc.

Chain Reaction

Chain Reaction Fill up the board with your pieces, but beware – too many in one place will set off a chain reaction!

Yahtzee

Yahtzee Another classic for up to four players, score as many points possible with combinations of the rolls of the dice.

Hnefatafl

Hnefatafl “The King Game” is an ancient boardgame played by the Vikings to pass the time on their ocean voyages. One player tries to get the Viking king to safety, the other aims to capture him instead.

Connect Four

Connect Four A family favorite, be the first to connect four of your colours in a line.

Solitaire

Solitaire Played by the Romans with pebbles, this version of patience needs forethought to leave just one marble in the centre.

Columns

Columns Similar to Tetris, but here you need to join together colours to form lines of three or more.

Icon Match

Icon Match The aim of this memory game is to match up the pairs of tiles in as few moves as you can.