A pokemon-like game in JS