An HTML5/Javascript game for teaching about bioinformatics, binary numbers and understanding genomes
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


An HTML5/Javascript game for teaching about bioinformatics, binary numbers and understanding genomes. Requires a recent browser to work (not IE 8).

See it in action at

We are aiming to create a game/teaching activity for secondary school children based on bioinformatics. The game can be used to explore counting in binary, combinatorics, and the correspondence between a genome and the physical features of an organism (genotype-phenotype correspondence).

The game has a play-against-the-clock set up, with a high score table, but a typical use of this game as an educational tool in a classroom or science fair would be as follows:

  • Start with a chat about inheritance. Who looks a bit like their parents or like their brothers and sisters? We inherit some of our characteristics from our parents. This information is passed from our parents to us in the form of a genome, which contains genes.
  • You can see a genome (4 binary digits or "bits") and a creature. Click to toggle the values of the genes/bits in the genome and see the effect they have on the creature.
  • Which genes are responsible for which changes? What do you think the rules are?
  • How many different creatures can be made with 4 genes/bits? How many with 2? 3?
  • Click to show the actual rules. These are if-then-else rules. Change the rules to create a different correspondence between genome and creature.
  • When you've chosen your rules, click to create a population. A selection of creatures and their genomes will be created from your rules, and the rules will be hidden. Ask a friend to guess the rules. What makes it easy? What makes it hard?
  • Play the game by clicking the "Start Game" button. There's a countdown timer and as you make correct guesses the table will turn green.
  • How many genes are in a baker's yeast? How many in a human? How many in a plant like wheat? How many individuals would we need to consider to understand what our genes do?

Aims for development of the game in future include the introduction of more complication such as AND, OR, and n-ary combinations of genes and maybe chromosomes (epistasis, dominance, etc).

See for a blog post about how we used this game.

This game is released under the MIT License.