Draw Tic-Tac-Toe gameboard

Today, we will be looking building on our draw square procedure to creating a Tic-Tac-Toe gameboard. If you get a little lost in the lesson, you can follow along here:

http://bjc.edc.org/bjc-r/cur/programming/1-introduction/4-grids-for-games/1-building-tic-tac-toe.html?topic=nyc_bjc%2F1-intro-loops.topic&course=bjc4nyc.html&novideo&noassignment

This will probably take you 1-2 classes to complete, so take your time and try to get it done right. Your assignment needs to have the 3 following procedures:

  • tile of size (size)
  • row of
  • draw square board with () rows of tiles of size ()
  • go to starting place for board

Try experimenting with different game board sizes (number of rows/cols) and sizes of squares.

This assignment is due on Fri Sep 30.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s