moved game to class, seems much slower