Skip to content

Tracking: Computer game mode (Stockfish) #41

@nelson137

Description

@nelson137

Add a game mode -- separate from Analysis (solo mode) and Co-op (multiplayer mode) -- for playing against Stockfish, "the computer".

This game mode has its own button on the main menu. The Stockfish evaluation bar is not visible during gameplay.

Tasks

  • Initial Stockfish integration (Investigate Stockfish integration #10)
    • Add a build script that installs Stockfish
    • Ensure the executable always gets installed for all users, not just those building the game from source
    • Launch the executable and implement basic communication
    • Stockfish plays as black
  • User can play as either white or black
    • Board is correctly oriented at start of game and does not flip afterward
  • Stockfish correctly plays as the other color
    • Correctly handles the cases where Stockfish must make the first move (i.e. it can't just listen for MovePiece component removal, it needs to be prompted to move based on the game state and whose turn it is)
  • Main menu has a dedicated button e.g. "Play Computer"
    • Stockfish only plays in this game mode
    • User's color is chosen randomly

Metadata

Metadata

Assignees

No one assigned

    Labels

    D-hardDifficulty: hardE-feature ✨Enhancement: new feature or enhancementF-aiFeature: AI (Stockfish)tracking 🚜A tracking issue

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions