your best guy for explaining the shortest diy videos....Thx. Please make more clips for Flutter (ios/android)...you have a firebase login video....maybe coukd make this for flutter or more with maps and little games like youre tictactoe.... 👍🙂😊
Thank you sir, everything went well. But if the player ever draws after winning once or (more) times, the timer does not stop and the game is not show played again button. What to do now?
Not sure if it's just me, but when a player wins everything works fine except the winning color remains. How do we reset the colors to all yellow when we clear the board?
You just need to reset "matchedIndexes" by matchedIndexes = []; in "_clearBoard" function. You can check the GitHub code for color resetting. I forgot to add it to the tutorial but the GitHub repo has it.
@@itzpradip Thank you! I was in the right spot and using the right variable. Instead of using blank brackets I referred to the secondary color, which is why it wasn't working. Makes sense now. Thanks again! I enjoyed your list app as well, however, I can't get it to read my Firebase DB. I can get it to write to it, just can't figure out how to get it to read it, it only reads the static list that was created for obvious reasons. If you ever get around to it, creating a tutorial for that would be great!
I changed like this and it worked. If the video doesn't explain if the time draw results have to be restarted. Hope this helps. } else if (filledBoxes == 9) { resultDeclaration = 'Nobody Wins!'; stopTimer(); }
HI I followed the tutorial and when the player clicks on a square already played then he passes his turn example X can play 2 times if O has clicked on a square X
@@scottturcotte3162 the problem is the video doesn't explain it, when you press play again, it should clear the contents of the box, but not matchedIndexes, so if you clear the blue color it won't go away. The fix is to define a List matchedIndexes inside void _clearBoard(). Define below resultDeclaration = '';. Good luck
Just remove the moove the oTurn = !oTurn; in the condition of each player if (oTurn && displayXO[index] == '') { displayXO[index] = 'O'; filledBoxes++; oTurn = !oTurn; } else if (!oTurn && displayXO[index] == '') { displayXO[index] = 'X'; filledBoxes++; oTurn = !oTurn; }
Very good video, easy to understand and very well explained, I learned a lot, cheers from Brazil!
Hi Pradip, I like your design. It is very pretty.
Thank you.
In the end the red color (winner block) remains as it is and it does not disappear after we play again.
your best guy for explaining the shortest diy videos....Thx. Please make more clips for Flutter (ios/android)...you have a firebase login video....maybe coukd make this for flutter or more with maps and little games like youre tictactoe.... 👍🙂😊
Thanks, will do!
When the timer reaches 0 seconds the mobile hangs. How will it be solved?
Amazing sir
The draw functionality is not working like its not displaying noboy wins message after completing the whole tutorial
Thank you sir, everything went well. But if the player ever draws after winning once or (more) times, the timer does not stop and the game is not show played again button. What to do now?
Solved it. Thank You
how did u solved it can u tell me too?? pls help
Not sure if it's just me, but when a player wins everything works fine except the winning color remains. How do we reset the colors to all yellow when we clear the board?
You just need to reset "matchedIndexes" by matchedIndexes = []; in "_clearBoard" function. You can check the GitHub code for color resetting. I forgot to add it to the tutorial but the GitHub repo has it.
@@itzpradip Thank you! I was in the right spot and using the right variable. Instead of using blank brackets I referred to the secondary color, which is why it wasn't working. Makes sense now. Thanks again! I enjoyed your list app as well, however, I can't get it to read my Firebase DB. I can get it to write to it, just can't figure out how to get it to read it, it only reads the static list that was created for obvious reasons. If you ever get around to it, creating a tutorial for that would be great!
after completing the tutorial, the draw function is not working. I checked your github and yours doesn't work either
I changed like this and it worked. If the video doesn't explain if the time draw results have to be restarted. Hope this helps.
} else if (filledBoxes == 9) {
resultDeclaration = 'Nobody Wins!';
stopTimer();
}
HI
I followed the tutorial and when the player clicks on a square already played then he passes his turn
example X can play 2 times if O has clicked on a square X
can u help me :) ?
Hi,
Did you find the solution
Same. The winning color also doesn't reset when you clear the board.
@@scottturcotte3162 the problem is the video doesn't explain it, when you press play again, it should clear the contents of the box, but not matchedIndexes, so if you clear the blue color it won't go away. The fix is to define a List matchedIndexes inside void _clearBoard(). Define below resultDeclaration = '';. Good luck
Just remove the moove the oTurn = !oTurn; in the condition of each player
if (oTurn && displayXO[index] == '') {
displayXO[index] = 'O';
filledBoxes++;
oTurn = !oTurn;
} else if (!oTurn && displayXO[index] == '') {
displayXO[index] = 'X';
filledBoxes++;
oTurn = !oTurn;
}
Hello sir bring more projects on react native
Sure I will
react native version please
Sure.👍 very soon
this project was NOT from scratch