chess-outpost Cursor Rules — Free Cursor Rules Template
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorRuleschess-outpost Cursor Rules
    Back to Rules
    Frontend

    chess-outpost Cursor Rules

    pixelsmill April 15, 2026
    0 copies 0 downloads

    This is an Angular chess application with the following key features:

    Rule Content
    # Cursor Rules for Chess Outpost Project
    
    ## Project Context
    This is an Angular chess application with the following key features:
    - Multiplayer chess games with real-time synchronization
    - PGN analysis and navigation
    - Drag & drop piece movement (desktop & mobile)
    - Multiple board backgrounds (classic, heatmap, topographic)
    - Firebase backend for authentication and game state
    - Never use anti pattern setTimeout or setInterval, prefer timer from rxjs and only for animations, or short delays
    - Never run ng serve, ng build, npm run. It's my responsability. And hot reload is enabled.
    
    ## Code Standards
    - Use Angular 18+ with standalone components and signals
    - Prefer input() and output() over @Input()/@Output()
    - Use computed() for derived state and effect() for side effects
    - Always use TypeScript with strict typing
    - Follow reactive programming patterns with RxJS
    
    ## File Structure Rules
    - Components go in src/app/[component-name]/
    - Services go in src/app/services/
    - Shared components go in src/app/shared/
    - Page components go in src/app/pages/
    - Models/interfaces go in src/app/models/
    
    ## Chess-Specific Rules
    - Always use chess.js library for game logic validation
    - Position strings should always be FEN format
    - Piece coordinates use standard chess notation (a1-h8)
    - Board orientation: 'white' or 'black' for player perspective
    - All chess moves must be validated before execution
    
    ## Mobile Optimization
    - Always include touch events alongside mouse events for drag & drop
    - Use touch-action: none to prevent scroll conflicts
    - Test responsive behavior on mobile viewports
    - Consider finger size for touch targets (minimum 44px)
    
    ## Performance Guidelines
    - Use OnPush change detection when possible
    - Implement trackBy functions for *ngFor loops
    - Lazy load heavy components when appropriate
    - Optimize bundle size by avoiding unnecessary imports
    
    ## Testing Approach
    - Skip test files
    
    ## When Making Changes
    1. Always check that chess game rules are preserved
    2. Verify that both orientations (white/black) work correctly
    3. Test drag & drop on mobile devices
    4. Ensure real-time multiplayer sync still works
    5. Check that PGN analysis features remain functional
    
    ## Communication Style
    - Be precise about chess terminology
    - Explain the impact of changes on gameplay
    - Mention mobile compatibility when relevant
    - Use French for user-facing text and comments in French files 
    
    /**
     * Génère une clé situationnelle globale basée sur les avantages détectés
     * Format : "avantagesBlancs_vs_avantagesNoirs" ou juste les avantages dominants
     */
    getGlobalSituationKey(): string {
      const whiteAdvs = this.whiteAdvantages().split(', ').filter(a => a.trim() !== '');
      const blackAdvs = this.blackAdvantages().split(', ').filter(a => a.trim() !== '');
      
      // Aucun avantage significatif
      if (whiteAdvs.length === 0 && blackAdvs.length === 0) {
        return '';
      }
      
      // Seuls les noirs ont des avantages
      if (whiteAdvs.length === 0) {
        return blackAdvs.join('_');
      }
      
      // Seuls les blancs ont des avantages
      if (blackAdvs.length === 0) {
        return whiteAdvs.join('_');
      }
      
      // Les deux couleurs ont des avantages
      return `${whiteAdvs.join('_')}_vs_${blackAdvs.join('_')}`;
    }
    
    getAdviceKeyForSelectedColor(): string {
      return this.getGlobalSituationKey();
    }
    
    

    Tags

    reactangulartypescriptgo

    Comments

    More Rules

    View all

    Kechwafflesnew Cursor Rules

    C
    CODEFORYOU69

    AI DRAMA FACTORY Cursor Rules

    R
    Robert0157

    Site Cursor Rules

    R
    RaphaelVitoi

    KindnessBot Cursor Rules

    F
    foodyogi

    Neptunik Cursor Rules

    F
    fjpedrosa

    Cvcraft Cursor Rules

    C
    CedricCT

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Automatic Self-Hosted Application Updates with Coolify Deploymentsn8n · $14.99 · Related topic
    • Bitrix24 Ask Form Widget Application Workflow with Webhook Integrationn8n · $14.99 · Related topic
    • Handling Job Application Submissions with AI and N8n Formsn8n · $14.99 · Related topic
    • Bitrix24 Chatbot Application Workflow Example with Webhook Integrationn8n · $9.99 · Related topic
    Browse all workflows