Fix AI multiple moves and player colors

This commit is contained in:
sokol
2026-02-21 21:25:22 +03:00
parent 1d04a99bd7
commit f3be577a32
5 changed files with 105 additions and 40 deletions

View File

@@ -13,10 +13,10 @@ const ANIMATION_DURATION = 300;
// Player colors
const PLAYER_COLORS = {
1: '#4ecca3',
2: '#e94560',
3: '#f9ed69',
4: '#a8e6cf'
1: '#4ecca3', // teal/green
2: '#e94560', // red/pink
3: '#f9ed69', // yellow
4: '#00adb5' // cyan/blue
};
// Colors
@@ -26,7 +26,7 @@ const COLORS = {
player1: '#4ecca3',
player2: '#e94560',
player3: '#f9ed69',
player4: '#a8e6cf',
player4: '#00adb5',
highlight: 'rgba(255, 255, 255, 0.3)',
selected: 'rgba(233, 69, 96, 0.6)',
target: 'rgba(78, 204, 163, 0.5)',