Improve AI Player (Part 2) ~ Android Tic Tac Toe
KotlinBytes - Improve AI Player (Part 2) ~ Android Tic Tac Toe
In my last episode, I showed you how to add a basic AI to compete with for our Android Tic-Tac-Toe game. In this episode, I will show you how to enhance our Tic-Tac-Toe AI player so that it can win. Let's get started!
Chapters:
0:00 - Intro
0:19 - New Strategy
0:56 - Find Next Winning Move
1:25 - Check if Cell can Win with a State
2:06 - Finish Finding Next Winning Move
2:37 - Update AI Logic in View Model
3:23 - Testing and Optimizing
4:31 - Wrapping Up
Android Studio:
https://developer.android.com/studio
Source code:
https://github.com/jacobklewis/Tic-Tac-Toe
Music:
Eternal Springtime by | e s c p | https://escp-music.bandcamp.com
Music promoted by https://www.free-stock-music.com
Attribution 4.0 International (CC BY 4.0)
https://creativecommons.org/licenses/by/4.0/
Видео Improve AI Player (Part 2) ~ Android Tic Tac Toe канала KotlinBytes
In my last episode, I showed you how to add a basic AI to compete with for our Android Tic-Tac-Toe game. In this episode, I will show you how to enhance our Tic-Tac-Toe AI player so that it can win. Let's get started!
Chapters:
0:00 - Intro
0:19 - New Strategy
0:56 - Find Next Winning Move
1:25 - Check if Cell can Win with a State
2:06 - Finish Finding Next Winning Move
2:37 - Update AI Logic in View Model
3:23 - Testing and Optimizing
4:31 - Wrapping Up
Android Studio:
https://developer.android.com/studio
Source code:
https://github.com/jacobklewis/Tic-Tac-Toe
Music:
Eternal Springtime by | e s c p | https://escp-music.bandcamp.com
Music promoted by https://www.free-stock-music.com
Attribution 4.0 International (CC BY 4.0)
https://creativecommons.org/licenses/by/4.0/
Видео Improve AI Player (Part 2) ~ Android Tic Tac Toe канала KotlinBytes
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Extension Properties & FunctionsRepresent Kotlin Objects as BinaryClassesCreate a Kotlin Short Link Web AppFlow Control (Part 2): for & whileThe Spread OperatorBuilt-in Kotlin Helper FunctionsView Binding ~ Android Tic-Tac-ToeIntro to FunctionsCompanion Objects & ObjectsDerivative at a PointOverriding & InterfacesKotlin Annotation Generated Constants - ConstantKFlow Control (Part 1): if & whenKotlin Hierarchical Drawing + AnimationLayouts ~ Android Tic-Tac-ToeValidate Game State ~ Android Tic-Tac-ToeVariables, Types & NullabilityHello WorldEncapsulation