Mathematical logical game