Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Chess Code Review and Performance Optimization

The Cherno via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a comprehensive code review video focusing on a chess game implementation. Explore various aspects of game development, including object allocation, event-driven design, performance optimization, and class hierarchies. Learn about best practices for calculating possible moves, handling chess pieces, and improving overall code structure. Gain valuable insights into common pitfalls and effective solutions in game programming through this in-depth analysis of a real-world chess application.

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

Reviews

Start your review of Chess Code Review and Performance Optimization

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.