Quantum game engine