worked on dealer game loop