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:
lines 169-171, 30 and 40 are used directly rather than being replaced with variables or named constants. (like digitWidth or digitHeight, etc)
lines 188 and 193 are using 32 to represent their digit spacing instead of having a named constant.
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: