reduces game code