Skip to Content
✨ SPARK
Learning
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK
Learning
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

Fire-y Ball (Arc Function)

Next

Mouse-following Dials

You Might Also Like

Related Embedded Video Item Thumbnail Rotating Polygons on the Major Scale 🎵
Related Embedded Video Item Thumbnail Bouncing Ball
Related Embedded Video Item Thumbnail Spiral Betty
Related Embedded Video Item Thumbnail Chaos Game
Related Embedded Video Item Thumbnail Double Pendulum
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