Step 1: From the Cloud9 dashboard: Create a new workspace
Fill in the following text boxes on the form:
→ Workspace name: tic-tac-toe Copy
→ Clone from Git or Mercurial URL: https://github.com/studentmrcode/template.git Copy
Click Create workspace button
Open index.html and click Run
Step 2: Think about the design of your program and write pseudocode.
Step 3: Write actual code from your pseudocode.
If the squares become misaligned, set the square's
vertical-align style to
Make helper functions for checking wins and ties. Click here for a function example.Last topic Next topic