Patt Vira | p5.js Coding Tutorial | Tic Tac Toe @pattvira | Uploaded October 2023 | Updated October 2024, 1 day ago.
Links:
🔗 p5.js editor: editor.p5js.org
🔗 Tic Tac Toe Code: editor.p5js.org/pattvira/sketches/6jMifAoPL
🔗 Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
Timestamps:
0:00 Intro
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
Links:
🔗 p5.js editor: editor.p5js.org
🔗 Tic Tac Toe Code: editor.p5js.org/pattvira/sketches/6jMifAoPL
🔗 Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
Timestamps:
0:00 Intro
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