Mastering Online Logic Games and Quiz Games