Extract "class Player" and make AI to JUMP