Premium Features

Download Video

Add unique attributes

If all players are white, how will we differentiate between them? This lesson will teach you the correct way to start differentiating your players using a backend methodology. I'll also teach you some good file and variable naming practices to keep your codebase clean.

This lesson will teach you how to:

- Add unique attributes (color)

- Change color on frontend

- Refactor player constructor

- Easier-to-understand variable and file names

- Generate random color on backend

- Enhance canvas resolution

Comments

Want to participate?

Create a free Chris Courses account to begin

Login

No comments yet, be the first to add one

Providing the lift to launch your development career

© 2026 Chris Courses. All rights reserved.