Added game loop. However, there is a problem with server side compilation. Bob can you fix it?