Unity Learn home
View Project Content

Writing Better Code

Project
Beginner
+300 XP
2 Hours35 Mins
(28)
Overview
Summary
Professional teams schedule some time for code cleanup after each milestone so their code stays flexible and easy to work with. This project will give you some tips and general principles for this process, known as refactoring. With your vertical slice done and your code in good shape, this is where you’ll start down the road to alpha.
Project Objective
  • Understand the concept of code architecture
  • Understand the concrete consequences of good or poor architecture
  • Describe qualities of good architecture
  • Understand the relationship between game design and code architecture
  • Use tools (CRC cards and class diagrams) to develop a class diagram for a small game