add logica do gameplay para o player