A simple javascript game - maths based