Refactored Game logic threading