Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Get 20% off all career paths from fullstack to AI
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This video reviews the source code of a chess game, focusing on object allocation, event-driven design, main-loop performance, class hierarchy, and calculating possible moves.
Syllabus
- What we're looking at today
- Playing chess testing the game
- Initial look at the code
- Allocating and using class objects better
- Event-driven application design
- The performance issue with the main loop
- Examining more code
- Why I like to avoid tuples
- Blurry chess pieces
- More code
- Chess piece class hierarchy
- Calculating possible moves
- How I would calculate possible moves
- More thoughts and code
- Creating and handling pieces better
- Outro
Taught by
The Cherno