complete game loop
Merge remote-tracking branch 'upstream/master'