Not sure if this forum or any forum will answer your thread, the way your question is asked.
You dont really have any question or specific point of help needed.
About the game script you reference. I don't see that they have provided a demo link showing the game.
Also the code script doesn't have any restraints and runs off the end of the webPage. Yucks. From a CSS view it needs perhaps better <div> management or make the browser screen wider.
online scripts are difficult, not many work, this script I do know, will need all the html tag info created etc.
You may be able to find the same game on another snippet site that will work for you.