Improved version, linear mine random assignment, complete game play