Optimize game performance