The magic box game