A library for Pokemon battles and the like