Completed initial gameLoop coding in RPiController