feat: kot and hakem kot

This commit is contained in:
2026-06-15 20:12:52 +03:30
parent 73b7c136f1
commit 4eadda7947
2 changed files with 7 additions and 4 deletions
+5 -4
View File
@@ -329,10 +329,11 @@ class _GameScreenState extends State<GameScreen> {
fontSize: 20,
fontWeight: FontWeight.bold)),
if (r.kot)
const Padding(
padding: EdgeInsets.only(top: 6),
child: Text('کُت! (دو امتیاز)',
style: TextStyle(color: AppColors.gold)),
Padding(
padding: const EdgeInsets.only(top: 6),
child: Text(
r.hakemKot ? 'حاکم‌کُت! (${r.points} امتیاز)' : 'کُت! (${r.points} امتیاز)',
style: const TextStyle(color: AppColors.gold)),
),
const SizedBox(height: 6),
Text('امتیاز: ${r.scores.isNotEmpty ? r.scores[0] : 0} - ${r.scores.length > 1 ? r.scores[1] : 0}',