Тёмный

Tic Tac Toe Android Studio Kotlin Tutorial | Noughts & Crosses 

Code With Cal
Подписаться 11 тыс.
Просмотров 25 тыс.
50% 1

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@vedantk23
@vedantk23 2 года назад
Best video on Tic Tac Toe game built using Kotlin in RU-vid. Keep it up Cal Sir.
@bigbad123321
@bigbad123321 Год назад
Thank you so much. I needed this for a University module I'm doing. I just have to add additional features to it now, which shouldn't be too bad. If I can work a quarter as quickly as you one day I'll be happy.
@mokshpatel3108
@mokshpatel3108 Год назад
Hii bro I require it for the same can you please help me how to download it using source code 😿😿
@greylabservice444
@greylabservice444 Год назад
The big grateful from Kazakhstan! You are the best!
@Ep3o
@Ep3o 8 месяцев назад
Hey! For those finding this tutorial, you may need to change up the "fun boardTapped(view: View)" function, as it no longer works in the current version (literally crashes if you press anything) My work around was setting each button like so in the oncreate function: binding.a1.setOnClickListener(this) binding.a2.setOnClickListener(this) etc. Then create override fun onClick(v: View?) { addToBoard(v as Button) } instead of the "fun boardTapped(view: View)" function be sure to also add: class MainActivity : AppCompatActivity(), View.OnClickListener {
@Ep3o
@Ep3o 8 месяцев назад
Also, to get around draw popping up if you fill-up the board but also win I changed: override fun onClick(v: View?) { addToBoard(v as Button) var victory = false if(checkForVictory(NOUGHT)){ victory = true noughtsScore ++ result("Noughts Win!") } if(checkForVictory(CROSS)){ victory = true crossesScore ++ result("Crosses Win!") } if(fullBoard()) { if (victory == false) { result("Draw") } }
@Ep3o
@Ep3o 8 месяцев назад
Hopefully this can save someone new hours, Kotlin having frequent updates rendering old tutorials useless has made my life hell
@mysgrown
@mysgrown 3 года назад
Thank you so much Cal Sir. Your videos are very helpful 💌
@kamalCode
@kamalCode 3 года назад
Sir, please JetPack kotlin complete advanced tuotorial updated with Ecommerce ui design
@IksanArisandi
@IksanArisandi 7 месяцев назад
thanks for the code, may I use it for commercial purposes ?
@BitMavrick
@BitMavrick Год назад
Hey Cal, I think you should make a playlist about layout design using XML, I saw lots of RU-vid tutorials but I'm not able to find any proper playlist for learning layout or android UI design using XML. Thank you.
@sourabhjadhav4621
@sourabhjadhav4621 2 года назад
Good Video Man. Love to see more!
@mrtruthvirtue8752
@mrtruthvirtue8752 3 года назад
Hi , Cal.. You're amazing. Pls don't give up , okey?
@aritrps1866
@aritrps1866 2 года назад
Lâu quá rồi mới nghe anh Đức Phúc hát, thích quá đi thôi.
@marcinaszyk8387
@marcinaszyk8387 2 года назад
If the win happens at the last move, there is a draw and win at the same time ;) great video!
@CodeWithCal
@CodeWithCal 2 года назад
😉
@preetthee
@preetthee 2 года назад
Nice explaining. Keep it up.
@reliefsounds1
@reliefsounds1 Год назад
I have problem in online that show layout margin not found
@zhbeka9732
@zhbeka9732 Год назад
Why my boardTapped function wasnt created automtically?
@manvendrasingh5629
@manvendrasingh5629 Год назад
Hi, as soon as I am clicking on board the application is minimising automatically
@SpideyCents
@SpideyCents 3 года назад
love it
@sadpoetry2135
@sadpoetry2135 3 года назад
hy call need help me plz i have a make to prayer times list in andoid st
@CodeWithCal
@CodeWithCal 3 года назад
A list view application? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6qYNxtG0LNE.html
@amitabhkumar7671
@amitabhkumar7671 2 года назад
I am unable to find activity main binding in my syste,
@CodeWithCal
@CodeWithCal 2 года назад
Have you enabled view binding in the build Gradle?
@imaginedave4094
@imaginedave4094 9 месяцев назад
@@CodeWithCal Same with me, i enabled it and somehow it still shows "unresolved reference" i actually tried everything and it doesnt work
@bestiegreatie8752
@bestiegreatie8752 2 года назад
unresolved error for me
@SumoPixelPlay
@SumoPixelPlay Год назад
Bro how to make games
@CodeWithCal
@CodeWithCal Год назад
Google. :P
Далее
Learn Kotlin in 12 Minutes
12:01
Просмотров 328 тыс.
ЭТО НАСТОЯЩАЯ МАГИЯ😬😬😬
00:19
skibidi toilet multiverse 042 Trailer
01:57
Просмотров 2,9 млн
I Made Minecraft Realistic
11:22
Просмотров 3,7 млн
How to Make a Tic Tac Toe Game in Android [Java 2020]
39:31
Tic Tac Toe Game in Android Studio (With Source Code)
34:10
Android ViewBinding in 8 Minutes
8:59
Просмотров 76 тыс.
How to Animate for Free! (Works with iOS & Android)
10:01
ЭТО НАСТОЯЩАЯ МАГИЯ😬😬😬
00:19