Skip to Content
✨ SPARK
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK
Folder: Learning
Back
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Login Account

Tic Tac Toe

  • All,
  • Games,

🔗 Code Example: Tic Tac Toe

🔗 Timestamps:

  • 0:19 Drawing the board

  • 3:00 Displaying values on the board

  • 4:37 Using mousePressed() function to place 'X' or 'O' piece

  • 11:50 Writing a function to check if there is a winner

  • 15:42 Writing a function to draw a winner position and display a winner

Previous

Brick Breaker

Next

Snake Game

You Might Also Like

Related Embedded Video Item Thumbnail Rainbow Pendulum Waves
Related Embedded Video Item Thumbnail Intro to Quadtree
Related Embedded Video Item Thumbnail Spiral Wave Pattern
Related Embedded Video Item Thumbnail Snake Game
Related Embedded Video Item Thumbnail How to Center a Grid on Canvas
I recently visited a botanical garden, saw this very sign, and really wanted to share.

🌸 ‘To Plant a Garden is to Believe in Tomorrow’ beautifully resonates with the creative coding work I do. Just as planting a seed is a simple act wit
“It’s much easier to determine what is working after you have already done some things than to predict what will work before you have done anything.” — James Clear

I made it through year ONE of making consistent content on th
Follow @pattvira