As the Pokemon runs forward automatically, you need to help him get past the pits as well as spikes and other traps/obstacles in his path, so click/tap to make him jump, and try reaching the end of each course in each of the ten levels, with each course being more difficult than the one before it.