Optimized calculating of game speed