Simple javascript game to illustrate modular arithmetic