new alg and game instance