Game loop is working with minimax fully functional.