Developing TicToe HTML5/Implementing Client Entities: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Hendrik Brummermann
No edit summary
imported>Hendrik Brummermann
No edit summary
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Navigation TicToe HTML5}}__NOTOC__
<noinclude>{{Navigation TicToe HTML5}}__NOTOC__</noinclude>

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.
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.


Line 71: Line 70:


== Testing and Debugging ==
== Testing and Debugging ==

[[File:TicToe-Firebug.png|right|Firebug used for testing]]


Okay, now it is time to test our code. The easiest way is, to use the Firefox extension [https://getfirebug.com/ Firebug].
Okay, now it is time to test our code. The easiest way is, to use the Firefox extension [https://getfirebug.com/ Firebug].
Line 147: Line 148:
</source>
</source>


This does have some redundancy with the code in the draw method of the Entity prototype. But we will completely rewrite it at a later time. Therefore it is okay for now, not to refactor it now.
This does have some redundancy with the code in the draw method of the Entity prototype. But we will completely rewrite it at a later time. Therefore it is okay for now, not to refactor it.

== Actions ==

{{TODO|write this sub-section}}