Compare commits
No commits in common. "main" and "v_20260330_160000" have entirely different histories.
main
...
v_20260330
3 changed files with 5 additions and 11 deletions
BIN
.DS_Store
vendored
BIN
.DS_Store
vendored
Binary file not shown.
|
|
@ -652,7 +652,7 @@ class GameController extends ChangeNotifier {
|
|||
} else if (isVsCPU) {
|
||||
int myScore = board.scoreRed; int cpuScore = board.scoreBlue;
|
||||
bool isWin = myScore > cpuScore;
|
||||
calculatedXP = isWin ? (10 + (cpuLevel ~/ 2)).clamp(10, 25) : (isDraw ? 5 : 2);
|
||||
calculatedXP = isWin ? (10 + (cpuLevel * 2)) : (isDraw ? 5 : 2);
|
||||
|
||||
if (isWin) {
|
||||
await StorageService.instance.addWin();
|
||||
|
|
|
|||
|
|
@ -74,16 +74,10 @@ class _ProfileScreenState extends State<ProfileScreen> {
|
|||
}
|
||||
|
||||
String _getPlayerTitle(int level) {
|
||||
if (level < 10) return "Principiante";
|
||||
if (level < 20) return "Apprendista";
|
||||
if (level < 40) return "Sfidante";
|
||||
if (level < 60) return "Tattico dell'Arena";
|
||||
if (level < 80) return "Maestro dei Quadrati";
|
||||
if (level < 100) return "Gran Maestro";
|
||||
if (level < 130) return "Campione della Griglia";
|
||||
if (level < 160) return "Entità Digitale";
|
||||
if (level < 200) return "Oracolo del Codice";
|
||||
return "Leggenda Suprema";
|
||||
if (level < 5) return "Principiante";
|
||||
if (level < 10) return "Sfidante";
|
||||
if (level < 15) return "Maestro dei Quadrati";
|
||||
return "Leggenda del Neon";
|
||||
}
|
||||
|
||||
Future<void> _handleRegistration() async {
|
||||
|
|
|
|||
Loading…
Reference in a new issue