updated machine player with internal board code