In this part 2 of the Godot 2D Tic Tac Toe game, you will learn how to develop and apply a win detection algorithm to your Tic Tac Toe game.
You'll first represent the game board as a matrix. Then in a standalone WinDetector static class, you will develop GDScript code to detect the win condition in all rows, columns and diagonals of the game board. Finally you incorporate this WinDetector class into the game so wins can be detected during game play.
This is part 2 of a 10 part series
Playlist: • Learn the core aspects of 2D game dev...
☕ Buy me a coffee ► https://www.buymeacoffee.com/exploreg... Support is greatly appreciated!!
💡 Code download: https://github.com/exploregamedev/Tic...
❤️ Enjoyed this video? Subscribe to our channel and hit the notification bell to never miss a new video - and let us know what how-tos you'd like to see next in the comments!
-------------------------
Chapters ⌛
00:00 - Intro
00:24 - Review Game board code
01:20 - Designing the win detection algorithm
03:00 - Implementing win detection
06:28 - Improve debug logging
07:12 - Outro
-------------------------
Stay connected! 🔗
Website: https://exploregame.dev
Mastodon: https://mastodon.gamedev.place/@explo...
Twitter: / exploregamedev
Itch.io: https://exploregamedev.itch.io/
—————————————————————————
My current equipment set up. Theses are some good choices if you are looking
-- Audio --
Shure MV7: https://amzn.to/3Bm0gC3
Blue Microphones boom arm: https://amzn.to/3HtYMcK
-- Video --
Sony A6400: https://amzn.to/3W6VH6v
-- Display --
Dell 27in ultrasharp 4k monitor(x2): https://amzn.to/3uGD0ed (high pixel density displays)
Quntis Computer Monitor Lamp: https://amzn.to/3iMOcDf (reduce eye strain)
-- Input --
IQUNIX A80 mechanical keyboard: https://amzn.to/3hfgUwb
Logitech MX Ergo Wireless Trackball Mouse: https://amzn.to/3YiXMOO
#godotengine #gamedev #tictactoe
Watch video Intro to Godot GameDev part 2, Adding a win detection online without registration, duration hours minute second in high quality. This video was added by user ExploreGameDev 26 June 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 382 once and liked it 16 people.