• Mahmoud Aglan's avatar
    feat: Lichess time controls + ELO from 0 + bot games unrated + premove fix · 4eddc5a6
    Mahmoud Aglan authored
    Time Controls:
    - 4 categories: Bullet (1+0, 1+1, 2+1), Blitz (3+0, 3+2, 5+0, 5+3),
      Rapid (10+0, 10+5, 15+10, 20+0), Classical (30+0, 30+20, 45+0, 60+0)
    - Category tabs with dynamic option switching
    - Both multiplayer and custom game sections
    
    ELO:
    - Default starts at 0 (was 1200)
    - DB columns altered: DEFAULT 0
    - Floor at 0 (was 100)
    - FIDE calculation unchanged (K-factor based on games played)
    
    Bot games:
    - Always rated=false (removed toggle)
    - Shows "مباراة تدريبية (غير مصنفة)" instead of rated toggle
    - Quick match also unrated
    
    Premove:
    - Selected square now visually highlighted during opponent's turn
    - premove-from class applied immediately for visual feedback
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    4eddc5a6
Name
Last commit
Last update
Connections and docs Loading commit data...
api Loading commit data...
config Loading commit data...
includes Loading commit data...
pages Loading commit data...
public Loading commit data...
templates Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
Dockerfile Loading commit data...
PLAN.md Loading commit data...
Stockfishbotsapi.txt Loading commit data...
captain-definition Loading commit data...
index.php Loading commit data...