The ending was pretty disappointing, it was 100% obvious how Lily would break the system and those super geniuses should have figured it out.
The ending almost could have worked, on the premise that
But where it failed was that
If they'd literally just skipped those scenes and made the gizmo a little more mysterious (so we were mainly taking the word of the head guy that it worked the way he said it did), the ending would have worked fine.
"I have not actually recommended many games, and I'll go on the record here saying my track record is probably best in the industry." - schild