Refactor sprint 35 score clamping for architecture compliance

This commit is contained in:
Bill
2026-02-17 12:10:36 -07:00
parent 78a4c83f62
commit 3dd2ef2577
6 changed files with 60 additions and 9 deletions

View File

@@ -0,0 +1,7 @@
#pragma once
inline int clampToPercent(int value) {
if (value < 0) return 0;
if (value > 100) return 100;
return value;
}