In this game dev experiment, we perform a code review of a 3D tic-tac-toe built using Three JS and React. is a JavaScript library that provides an API for WebGL and makes it easy to create 3D games/animations on a browser. You can draw complex shapes, import blender objects, and even animate them all with JavaScript. Today, we go over how to set up the Three JS scene, create our game board, animate player actions, and detect when someone wins the game.
📖 Code -
🐦 Twitter -
💻 GitHub -
🌎 Website -
== [ Resources ] ==
Docs -
Guide -
Raycaster - #api/en/core/Raycaster
Dat GUI Tutorial - @bumbeishvili/three-js-dat-gui-controls
Scene Guide -
== [ Timestamps ] ==
00:00 Tic Tac Toe Demo
00:42 Create Scene with Board
03:20 Detect Click with Raycasting
05:30 Alternate Between Players
07:04 Check Win Conditions
== [ Tags ] ==
#suboptimal #metaverse #threejs
1 view
16
7
5 months ago 00:15:19 1
Как создать СВОЙ ChatGPT? ПОЛНЫЙ ОБЗОР ChatGPT Builder на русском с инструкциями
5 months ago 00:00:59 1
5 Странных Алгоритмов Сортировки 🚨😱
5 months ago 00:36:36 1
ILS SONT EN DANGER ?🔮 #actualités #tarot #voyance
5 months ago 00:14:30 1
Farm Folks’ “jiggle“ post is a huge marketing blunder - cozy game tea 🫖
5 months ago 00:55:43 1
Certains BRICS+ veulent renverser l’Occident (voici les scénarios)
5 months ago 01:31:21 1
худшее в прошлом // witch house
5 months ago 00:37:03 1
Something Strange Happens When You Follow Einstein’s Math
5 months ago 00:16:52 1
Livraisons illégales d’armes, matériels à l’Ukraine: un général porte plainte contre trois ministres
5 months ago 00:58:59 1
В метель, богач сказал бродяжке с малышкой код от домофона… А когда вернулся с работы, не поверил...
5 months ago 00:30:38 1
‘We want to become Russian citizens’ | Family with 6 Children Fled the USA |@homeinrussia
5 months ago 00:18:18 1
personne n’a bougé !
5 months ago 00:10:10 1
Amish are sick of being Raided by Government so they are doing this....
5 months ago 00:23:01 1
Alex Garland on Civil War | BFI IMAX Q&A
5 months ago 01:40:33 1
Atompunk Illustration in Blender - 3D Modeling Process | Polygon Runway
5 months ago 00:21:41 1
Don’t OVERPAY for Key Comics! 😬| Hot10 Comic Book Back Issues ft.@GemMintCollectibles
5 months ago 01:04:05 1
COMPLETE Unity Multiplayer Tutorial (Netcode for Game Objects)
5 months ago 00:00:21 1
Wizard Evolution - May 6, 2024 #ClashRoyale #royaleapi