Games are not designed in html - Web pages are.
Games are designed in Java, C/C++, Fortran and a multitude of other programming languages, but not html (there may be html elements, but not the whole game).
You can't just copy the code and insert it into your page - There are other factors (like server-side scripts etc) that you would need and wouldn't have access to.