Developing TicToe HTML5/Implementing Client Entities

From Arianne
Revision as of 19:26, 18 December 2011 by imported>Hendrik Brummermann (Created page with "{{Navigation TicToe HTML5}}__NOTOC__ After drawing a rough entity class diagram in the previous article, we are now going to implement the client side. We need to start with a h...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Development log of TicToe HTML5

After drawing a rough entity class diagram in the previous article, we are now going to implement the client side. We need to start with a html page that hosts the required java script files.

HTML page as container

Note: If you are using a development version of marauroa, you may need to include all the marauroa .js files in stead of marauroa.compiled.js.

<source lang="html4strict"> <!doctype html> <html> <head> <title>TicToe</title> <style type="text/css"> body {color: #FFF; font-family: Arial; background-color:#0A0} </style> </head>

<body> <script type="text/javascript" src="marauroa.compiled.js"></script> <script type="text/javascript" src="src/js/entities.js"></script> </body> </html> </source>

Implementing the entities