The answer is no lol. But it went fairly well. Would you guys like me to continue on this project? The only cut to the video I made was when I forgot to add the "assets/" to the filename, that took way too long to figure out. A couple things I realized afterwards: - There is no reason to filter off invalid locations because the drag targets don't exist off screen - I also did this incorrectly anyways as I needed to check if the (x,y) were above 0 as well - I forgot to check for a capture was an enemy piece - Moving on diagonals should have been on the base class so I could re-use that logic for queens
bro how the fuck do u just code like i cant even imagine bro the speed with which you code is just mind blowing and also the way u think about solutions too amazing wish i could ccode like u 1 day!!
Thanks for your video. It help me a lot. I have a problem with this. When a button press, I need to get all the 4 bishops' x coordinates into one list. Ex: [x1,x2, x3, x4] how can I do it. Please can you help me?
@@flutter--help8127 Thanks, although no needed extra stuff. Just need this for reference and it would be a pain to check the video everytime, with the exact time stamp etc.
The answer is no lol. But it went fairly well. Would you guys like me to continue on this project? The only cut to the video I made was when I forgot to add the "assets/" to the filename, that took way too long to figure out.
A couple things I realized afterwards:
- There is no reason to filter off invalid locations because the drag targets don't exist off screen
- I also did this incorrectly anyways as I needed to check if the (x,y) were above 0 as well
- I forgot to check for a capture was an enemy piece
- Moving on diagonals should have been on the base class so I could re-use that logic for queens
Yup please fix this
continue this
bro how the fuck do u just code like i cant even imagine bro the speed with which you code is just mind blowing and also the way u think about solutions too amazing wish i could ccode like u 1 day!!
Awesome flutter channel!
Thanks for your video. It help me a lot. I have a problem with this. When a button press, I need to get all the 4 bishops' x coordinates into one list. Ex: [x1,x2, x3, x4] how can I do it. Please can you help me?
Can you make code of rooks
Can you post the files for this one?
Sure, I'm going to work on it more today and make a git repo. Next video will have git repo in the description
@@flutter--help8127 Thanks, although no needed extra stuff. Just need this for reference and it would be a pain to check the video everytime, with the exact time stamp etc.
@@hellpunch9414 github.com/MilesAdamson/chess_live_coding
@@flutter--help8127 ty :), i'll check it when i can
To color the board is simply ((row + col).isEven) ? white : black,