👑📱 How to code CHESS • FULL TUTORIAL from scratch

  Рет қаралды 23,123

Mitch Koko

Mitch Koko

Күн бұрын

💬 Chat App w/ Notifications • mitchkoko.gumroad.com/l/ChatA...
📱 Flutter Courses • mitchkoko.app/
👨🏽‍💻 I'm coding a startup.. / mitchkoko
/ createdbykoko
/ createdbykoko
/ createdbykoko
💰 Book Consultation Call • mitchkoko.gumroad.com/l/CallW...
~ ;
⌚️TIMESTAMPS
0:00 game board
4:28 chess piece
8:25 initalize board
12:19 select piece
15:17 raw valid moves
33:33 dead pieces
38:39 is king in check?
43:11 real valid moves
49:21 check mate
~ ;
📱 INSTAGRAM • / createdbykoko
🐦 TWITTER • / createdbykoko
📱 TIKTOK • / createdbykoko
🎧 FLUTTER POD • / @flutterpod
💬 JOIN DISCORD SERVER • / discord
💻 GITHUB • github.com/mitchkoko/
🖥 WEBSITE • mitchkoko.app/

Пікірлер: 131
@createdbykoko
@createdbykoko Жыл бұрын
💬 Chat App w/ Notifications • mitchkoko.gumroad.com/l/ChatAppMasterclass 📱 Flutter Masterclass • mitchkoko.app/ 🔥 I'm coding a startup.. www.patreon.com/mitchkoko I hope you learned something! Let me know if you need any help understanding the code 💜 Some other game tutorials you might be interested in: 🎮TETRIS • kzfaq.info/get/bejne/atlzhq2ImM7FnXk.html 🎮MINESWEEPER • kzfaq.info/get/bejne/ntimp8l_0bLHdmg.html 🎮STACKING GAME • kzfaq.info/get/bejne/pt-XZtWezpPXcnU.html or.. just check out my entire Flutter Games from Scratch PLAYLIST kzfaq.info/sun/PLlvRDpXh1Se6kipeBLiF1xByAEmxYie6J Peace✌🏾
@zenhsuld
@zenhsuld Жыл бұрын
poker?
@createdbykoko
@createdbykoko Жыл бұрын
@@zenhsuld great idea! I actually made a small blackjack thing long time ago kzfaq.info/get/bejne/sOByftqVvZyYYmw.html maybe i should revisit this and make a full poker/black jack game 💜
@razzaqhalim1946
@razzaqhalim1946 Жыл бұрын
Love all your videos. Thank you so much. I learned a lot. ❤❤
@pradiptahafid
@pradiptahafid Жыл бұрын
1 hour if tutorial. 6 hours of follow along. unlimited enjoyment. priceless experience.
@createdbykoko
@createdbykoko Жыл бұрын
Glad you like it 💜
@pradiptahafid
@pradiptahafid Жыл бұрын
PURPLE HEART!!!
@pradiptahafid
@pradiptahafid Жыл бұрын
@@createdbykoko I did Tetris and bubble tea, It was sooo much fun and enjoyable. going to flappy bird next!
@nicolassasso6073
@nicolassasso6073 Жыл бұрын
it's amazing how you teach man keep it up!!! 💜
@MelColton
@MelColton 9 ай бұрын
💜 great tutorial!
@Rigobert99
@Rigobert99 Жыл бұрын
this is dope for me hahaha, once again, good job Mitch, i have not yet watched it but i know what it will be, dope
@createdbykoko
@createdbykoko Жыл бұрын
Hey Di.venture 💜 always appreciate your long time support my friend
@hemalparmar8284
@hemalparmar8284 8 ай бұрын
just one word! Superbbb!!!!💜💜💜
@chuckie_official
@chuckie_official Жыл бұрын
Kudos Mitch Koko! I love chess! It would be great if u also included move notations in your code. Thanks!
@arbash_
@arbash_ 10 ай бұрын
💜 great tutorial
@AniMatrixXD
@AniMatrixXD Жыл бұрын
Awesome - Like always 💜
@createdbykoko
@createdbykoko Жыл бұрын
Thank u 💜 how is flutter going for u these days?
@AniMatrixXD
@AniMatrixXD Жыл бұрын
@@createdbykoko I am working on a project for my studies. I'm currently making a quiz app in Flutter and watch a lot of your videos. The "Widget of the Day" videos are always a great help! - Love them :)
@alijabri
@alijabri Жыл бұрын
great tutorial as always, will you please consider making Rubik's Cube solving app. I always wondered how to approach such complex task and I think no one can explain it better than you do
@createdbykoko
@createdbykoko Жыл бұрын
Rubix cube solver!! Thats a cool idea. I was interested in making an AR camera app that solves the next step for the rubix when u point the camera at it haha
@Creativelifestyles7
@Creativelifestyles7 4 ай бұрын
Bro great tutorial 💜
@GonePlay
@GonePlay 7 ай бұрын
How can i change pawns to knight, bishop,rook or queen when they are on the last square
@rajatkhoware2364
@rajatkhoware2364 Жыл бұрын
Hey Mitch, that's a great tutorial for us to get started but I am wondering what if we want to play with single-player with a computer how to code that part please share any references or any idea you have for how to do it, and again thanks for lot for this type of content.
@blasix7962
@blasix7962 11 ай бұрын
can you show how to add en passant and castling?
@shearwood757
@shearwood757 Жыл бұрын
Hey Mitch, can you get sponsored by Rotato again. I’m wanting to buy but also want to support the person who taught me so much in how to use flutter!
@gerwazy7734
@gerwazy7734 Жыл бұрын
great tutorial, i learnt a lot! one thing i would add is "En passant", when a pawn can be captured by other pawn if it is its first move and it moves two squares another one is castling with king and the rook could you guys give me a hint how to do it so i will try to implement it by myself? :D
@Luminaracreate
@Luminaracreate 21 күн бұрын
Hi, I'm not sure if I'm late but I did manage to make en passant and castling. If you're curious by chance or anything, you can give me your email/anything for me to give you my github repo
@user-lp9uw7ge1z
@user-lp9uw7ge1z Жыл бұрын
Great work!!!
@createdbykoko
@createdbykoko Жыл бұрын
Thanks! How is flutter going for u these days? 💜
@user-lp9uw7ge1z
@user-lp9uw7ge1z Жыл бұрын
Hi, Are there any plans to create videos that delve into state management using Bloc and Riverpod?
@createdbykoko
@createdbykoko Жыл бұрын
@@user-lp9uw7ge1z yes i do plan on that soon
@user-lp9uw7ge1z
@user-lp9uw7ge1z Жыл бұрын
@@createdbykoko yes it's good. Converting native apps to flutter.
@blah6709
@blah6709 Жыл бұрын
listening to you is therapy for me nowdays
@createdbykoko
@createdbykoko Жыл бұрын
😂💜
@stan2947
@stan2947 Жыл бұрын
have you considered making a tutorial on Isar local database? great tutorial btw!
@sakshamavasthi1013
@sakshamavasthi1013 9 ай бұрын
Hey, mitch i didnt get most of the part of raw valid moves you did explain but i didnt get is there any resource from which i can understand this better
@_MAlazz
@_MAlazz Жыл бұрын
Great tutorial, Can you make a video about how can we animate container from index to another index in gridview? For example I want to move player from index 1 to index 7 but with animation. My problem only with how to make animation
@createdbykoko
@createdbykoko Жыл бұрын
Hello, that is a very specific request so I won't be making a video just for that. But I have made tutorials for both gridview and animated container which may help you: GRIDVIEW • kzfaq.info/get/bejne/pLtygK5ouqu1YYU.html ANIMATED CONTAINER • kzfaq.info/get/bejne/ob15pcuizam6cp8.html 💜
@s1lverVL
@s1lverVL 6 ай бұрын
You can use the package animate do, it's very useful for that specific animations
@forexfication
@forexfication Жыл бұрын
Can you create compound interest calculator which shows how much you can make everyday in a specific planned days
@adventurer9361
@adventurer9361 Жыл бұрын
You are always give us the super apps ❤❤
@jhonatanmiguelhernandezmes9725
@jhonatanmiguelhernandezmes9725 9 ай бұрын
i have one questions, as implement the enroque?, i don't can see in the tutorial is the part?
@KARTHIKr8642
@KARTHIKr8642 Жыл бұрын
Can u make a video on how to convert a existing website to a responsive disign for mobile, tablet and website which is in flutter
@Krenz-yy1oj
@Krenz-yy1oj 22 күн бұрын
so cool bro
@mohamedadan8552
@mohamedadan8552 Жыл бұрын
Hi are you planning on using flame with flutter
@chriszod
@chriszod Жыл бұрын
Thanks💜, not that it matters but the queens and kings shoulf switch places at game initialization
@createdbykoko
@createdbykoko Жыл бұрын
You are correct haha i corrected it toward the end of the video 😂
@avikarefin7137
@avikarefin7137 Жыл бұрын
I am new to state-management. If I am correct, BLoC is the most popular state management solution. But I don't see you necessarily using any of the popular state management solutions. May I know the reason why? and if possible would you be able to use do a video on it? Not a discussion / debate on which on is better. Rather a Tutorial? Thanku
@jaseem2198
@jaseem2198 Жыл бұрын
Its amazing🎉
@dwarkaprasad4510
@dwarkaprasad4510 3 ай бұрын
Hey bro can you tell me which platform use for download png images?
@dexterfury538
@dexterfury538 Жыл бұрын
You forgot to add the castling move for King and rook
@geetish6588
@geetish6588 3 ай бұрын
from where can i get ur image materials
@rajparnodhar5402
@rajparnodhar5402 Жыл бұрын
Can you please tell me where can I find chess pieces ??
@saadkousas5916
@saadkousas5916 Жыл бұрын
heeey, i hope u having a goood day , i have a problem in the function isWhite, the color of the chess pieces doesn't change , how can i resolve this please ??!!!!
@HastyJane88
@HastyJane88 7 ай бұрын
23:43 tryin to make some front page drive-in news
@michaelh3
@michaelh3 Жыл бұрын
Hey Mitch, are you still going to play on our bball team? You haven't responded in the chat for a while. Season starts soon!
@createdbykoko
@createdbykoko Жыл бұрын
Haha yep ofc i will be there 🏀❤️
@Sebastian-hv7jz
@Sebastian-hv7jz Жыл бұрын
Could you make checkers game?
@geetish6588
@geetish6588 3 ай бұрын
there is a issue with the image size,can anyone help
@alexngnidjie9372
@alexngnidjie9372 6 ай бұрын
Hi, for a 'VS AI' mode is it possible?
@piyush4883
@piyush4883 Жыл бұрын
💜 awesome
@createdbykoko
@createdbykoko Жыл бұрын
How is Flutter going for u these days? 💜
@piyush4883
@piyush4883 Жыл бұрын
Superb , Learned a lot of things from you, thanks for such quality with such a consistency.💜💜💜
@yours_indie_game_dev
@yours_indie_game_dev 7 ай бұрын
how would you create a smartchess AI
@AjayFounderCode
@AjayFounderCode Ай бұрын
hii sir when write isKingInCheck function then movePiece not working
@martinbundschuh4893
@martinbundschuh4893 Жыл бұрын
Thanks
@zimbaldinho
@zimbaldinho 11 ай бұрын
could the directions be a Enum?
@harshitchoudhary2821
@harshitchoudhary2821 Жыл бұрын
Mitch do you work are you are studying right mow ?? Just curious 😅
@geetish6588
@geetish6588 3 ай бұрын
can you provide castle the king logic?
@saibhilare8238
@saibhilare8238 7 ай бұрын
💜
@adventurer9361
@adventurer9361 Жыл бұрын
Sir can you please make simple app About backend call "supabase" with realtime database No one explain about this backend database
@RahulVaniya-yp2jw
@RahulVaniya-yp2jw Жыл бұрын
Hay, I was unable to find the source code. I would like to have it. Thanks.
@artem-ai
@artem-ai Жыл бұрын
oooooo mmaaaayyyyy Goooooood🤯🤯🤯🤯🤯
@createdbykoko
@createdbykoko Жыл бұрын
haha let me know if u have any issues 💜
@shreeramk0001
@shreeramk0001 Жыл бұрын
bru, mitch this is a very unfortunate and rare error you can say. I followed your code completely from a-z and now while debugging im getting 'crossAxisCount != null && crossAxisCount > 0': is not true. Please help me with dis
@mageshk1849
@mageshk1849 11 ай бұрын
💜💥
@rajbirsingh9716
@rajbirsingh9716 Жыл бұрын
🔥🔥🔥
@createdbykoko
@createdbykoko Жыл бұрын
💜🔥
@makecoinfree
@makecoinfree 6 ай бұрын
se puede multiplayer o para maquina?
@bucky4632
@bucky4632 Жыл бұрын
hello can u make tutorial how delete user with firebase.auth ?
@b612vitamini5
@b612vitamini5 Жыл бұрын
good content
@createdbykoko
@createdbykoko Жыл бұрын
Thanks! How is flutter going for u these days?? 💜
@abrahamedwinbeensromero5747
@abrahamedwinbeensromero5747 8 ай бұрын
It would be nice if you make an online dominoe game, I would pay for it.
@evanhossain1618
@evanhossain1618 Жыл бұрын
💜💜💜💜💜💜💜💜💜💜💜💜...so much love for you
@createdbykoko
@createdbykoko Жыл бұрын
Haha thanks glad u like it! Hows flutter going for u? 💜
@muhammadharis2440
@muhammadharis2440 Жыл бұрын
💜💜💜
@createdbykoko
@createdbykoko Жыл бұрын
Peace Muhammad 💜Let me know if u have any problems ✌🏾
@WorldYuteChronicles
@WorldYuteChronicles 4 ай бұрын
Why not create a basic "Piece" class and then extend it for each piece, defining moves, rules etc... specific to each pieces in each classes instead of writing them in the game board? Let's imagine that we want to re-use that code to make a taikyoku shogi(which has 207 piece types) or chaturanga. Having an inheritable piece class would make it infinitely easier to add new pieces rather than hard-coding all of them in the gameboard class and checking enum type.
@DivyanshuYadav-kd8tl
@DivyanshuYadav-kd8tl Күн бұрын
💜instead of building chess i build its variant chaturang,
@senor7857
@senor7857 Жыл бұрын
Is this the live definition of spaghetti code? 🤔
@createdbykoko
@createdbykoko Жыл бұрын
Do you have tips for how to improve the code organisation for this game? I want to improve
@user-rg6iy9pk8v
@user-rg6iy9pk8v Жыл бұрын
It is very beautiful tutorial but i have small problem void _initializeBoard(){ newBoard = List.generate(8, (index) => List.generate(8,(index)=>null)); for (int i=0;i
@DanTup
@DanTup Жыл бұрын
You are likely missing the "?" in your definition of "board". See line 17 at 13:25. It says 'List' but I think you are missing the '?' and have 'List'.
@user-rg6iy9pk8v
@user-rg6iy9pk8v Жыл бұрын
@@DanTup thanks sir🤍
@technicalguy.
@technicalguy. Жыл бұрын
💜 💜
@createdbykoko
@createdbykoko Жыл бұрын
Let me know if you need help with anything Flutter related 💜 How is Flutter going for you so far?
@technicalguy.
@technicalguy. Жыл бұрын
@@createdbykoko thanks you so much for your support, well I'm loving flutter and dart , just kinda learning some complex dart related concepts like 2D lists, async and await methods and in flutter I'm learning to develop cool UI's from your videos. One again appreciate your time & efforts ♥️
@ebba2420
@ebba2420 Жыл бұрын
It's good
@createdbykoko
@createdbykoko Жыл бұрын
Glad you like it 💜How is flutter going for u?
@ebba2420
@ebba2420 Жыл бұрын
@@createdbykoko It's hard but with your explanation it's starting to get easy
@createdbykoko
@createdbykoko Жыл бұрын
@@ebba2420 that’s good to hear, keep it up! And let me know if you have any questions about anything Flutter related 💜
@ebba2420
@ebba2420 Жыл бұрын
@@createdbykoko ok thanks bro 😎😎
@PaoloTshiyole
@PaoloTshiyole 7 ай бұрын
I've a suggestion, why not having the possibility to play with an AI
@tanvirislampulok2842
@tanvirislampulok2842 Жыл бұрын
Waiting for your chat app
@createdbykoko
@createdbykoko Жыл бұрын
In progress now 👨🏽‍💻
@CrunchersConsultants
@CrunchersConsultants Жыл бұрын
💟
@reuswang668
@reuswang668 Жыл бұрын
Can you share the source code?
@createdbykoko
@createdbykoko Жыл бұрын
It’s on my website mitchkoko.app
@T-ts1qn
@T-ts1qn 2 ай бұрын
​@@createdbykokoi see only three different projects
@ricardovandenbogaard6297
@ricardovandenbogaard6297 8 ай бұрын
This is not a functioning chess app since you are missing the 'difficult' moves. Castling, promoting and en-passant are all missing ....
@khlebobul26
@khlebobul26 9 ай бұрын
Thank you so much for this instructional video! I would like to add just one small detail for the pawn movement. There is a case when the opponent's pawn has moved two squares, we can apply En passant in some cases. I will attach a link to wikimedia en.wikipedia.org/wiki/En_passant
@GabrielTao2712
@GabrielTao2712 3 ай бұрын
💜
@roodyridar2706
@roodyridar2706 Жыл бұрын
💜
@createdbykoko
@createdbykoko Жыл бұрын
💜🔥
@maniokhan9196
@maniokhan9196 Жыл бұрын
💜
@createdbykoko
@createdbykoko Жыл бұрын
💜🔥 hi manio khan! Let me know how it goes
@nomodifyy
@nomodifyy 11 ай бұрын
💜
@arunkashyap3527
@arunkashyap3527 Жыл бұрын
💜
@SteveParks
@SteveParks Жыл бұрын
💜
@D3lirio
@D3lirio Жыл бұрын
💜
@createdbykoko
@createdbykoko Жыл бұрын
💜💜
@maanojpaatel
@maanojpaatel Жыл бұрын
💜
@createdbykoko
@createdbykoko Жыл бұрын
let me know how it goes Manoj 💜
@dexterfury538
@dexterfury538 Жыл бұрын
💜
@amirhosayni
@amirhosayni 11 ай бұрын
💜
@ninobach7456
@ninobach7456 10 ай бұрын
💜
@eacardenase
@eacardenase Жыл бұрын
💜
@createdbykoko
@createdbykoko Жыл бұрын
Nice edwin💜 how is flutter going for u these days?
@eacardenase
@eacardenase Жыл бұрын
@@createdbykoko I'm loving your content! I have just finished the wallet ui and this tutorial and is such amazing the way you can explain though topics.
🎮📱TETRIS Game • Flutter Tutorial from Scratch
38:38
Mitch Koko
Рет қаралды 29 М.
(Shocked) ChatGPT created this Android App and made $$$?
18:32
Harnoor Singh
Рет қаралды 133 М.
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 57 МЛН
Хотите поиграть в такую?😄
00:16
МЯТНАЯ ФАНТА
Рет қаралды 2,7 МЛН
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 11 МЛН
Learning C# In A Week... Otherwise I Fail University
9:04
Coding Adventure: Chess
29:22
Sebastian Lague
Рет қаралды 3,7 МЛН
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 739 М.
How to Make a Platformer in Scratch | Zinnea | Tutorial
8:22
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 35 М.
Chess Game In scratch   Ep#1 Basics
36:03
The Redstone Monstrosity
Рет қаралды 8 М.
The Fascinating Programming of a Chess Engine
6:45
Bartek Spitza
Рет қаралды 318 М.
How I build Apps that PRINT ($30k/month Micro SAAS)
22:51
Steven Cravotta
Рет қаралды 251 М.
Красиво, но телефон жаль
0:32
Бесполезные Новости
Рет қаралды 987 М.
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 684 М.
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 12 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 351 М.
😱Хакер взломал зашифрованный ноутбук.
0:54
Последний Оплот Безопасности
Рет қаралды 757 М.
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 36 МЛН