r/learnjavascript • • Nov 18 '21

Coding a 3D Tic-Tac-Toe with Three JS

261 Upvotes

12 comments sorted by

14

u/_Invictuz Nov 18 '21

Neat stuff. Now make it into a cube with 6 games going at the same time!

3

u/SuboptimalEng Nov 18 '21

this would be interesting 👀

3

u/pookage helpful Nov 18 '21

Good work, captain - although, let me introduce you to my friend: easings. Anything big and chonky like this is a classic use-case for easeOutBack

2

u/SuboptimalEng Nov 18 '21

Thanks for this - I was struggling to figure out how to add smooth transitions. Bookmarked the website for future use :P

3

u/dp234523 helpful Nov 18 '21

Nice work! This is really great, and nice tutorial too!

2

u/SuboptimalEng Nov 18 '21

Thanks! I actually made a custom display for the tutorial so I don't have to keep pulling up VS Code on the side. Glad to hear that my efforts weren't for nothing :)

2

u/SlowCoderSloth Nov 19 '21

Awesome game, dude.

4

u/joshtempte Nov 18 '21

That's only 2D tic tac toe. :p

2

u/Brilliant-Ask6258 Nov 19 '21

nice tutorial!

2

u/Daddelman Nov 19 '21

looks awesome, good job bro, this was an inspiration for the junior me