Learning Javascript by making some kind of roguelike