Updated changes to latest version based on game github repository

github.com/timoysu/pi