The first 1,000 people to use this link will get a 1 month free trial of Skillshare: https://skl.sh/thecherno11211
Patreon ► https://patreon.com/thecherno
Instagram ► https://instagram.com/thecherno
Twitter ► https://twitter.com/thecherno
Discord ► https://discord.gg/thecherno
Code ► https://github.com/JuUnland/Chess
Send an email to [email protected] with your source code, a brief explanation, and what you need help with/want me to review and you could be in the next episode of my Code Review series! Also let me know if you would like to remain anonymous.
Chapters:
----------------
0:00 - What we're looking at today
5:11 - Playing chess (testing the game)
8:13 - Initial look at the code
12:48 - Allocating and using class objects better
16:20 - Event-driven application design
17:16 - The performance issue with the main loop
19:57 - Examining more code
24:05 - Why I like to avoid tuples
27:15 - Blurry chess pieces
28:48 - More code
34:53 - Chess piece class hierarchy
38:50 - Calculating possible moves
43:15 - How I would calculate possible moves
46:18 - More thoughts and code
47:57 - Creating and handling pieces better
50:08 - Outro
This video is sponsored by Skillshare.
#CodeReview