pngwen / xboing

A resurrection of the blockout style game for the x windows system.
Other
1 stars 6 forks source link

Remove Magic Numbers and Hardcoded Values #5

Open leathens opened 2 months ago

leathens commented 2 months ago

There are several instances of magic numbers and hardcoded values. To improve readability and maintainability, I think we should replace these magic numbers with named constants or variables.

For example, in score.c: