A text based javascript game