Skip to content

Implement pre-moving #11

@nelson137

Description

@nelson137

When playing non-co-op games (computer, multiplayer?) players should be able to, after making a move, make a second "pre-move" to lock it in. Once the opponent makes their move, the pre-move will be automatically made and it will then be the opponent's turn again.

Inspiration

pre-move

FFmpeg command to convert video to GIF ffmpeg -y -itsscale 2.0 -i infile.mkv -ss 00:00:03 -to 00:00:13 -filter_complex 'fps=10,crop=iw/2-44:ih-86,scale=512:-1,split [o1] [o2];[o1] palettegen [p]; [o2] fifo [o3];[o3] [p] paletteuse' outfile.gif
  • -y: Overwrite existing file
  • -itsscale 2.0: Multiply timescale by 2.0 (make it 2x slower)
  • -ss 00:03 -to 00:13: Trim video from 3sec to 13sec (time format is [HH:]MM:SS[.M...])
  • -filter_complex
    • fps=10: Set FPS of output
    • crop=...: Crop video (see crop filter docs)
    • scale=512:-1: Scale video to width of 512 pixels and height of -1 (auto, keep aspect ratio)
    • split [o1] [o2];[o1] palettegen [p]; [o2] fifo [o3];[o3] [p] paletteuse: Convert video to GIF using palette (see StackOverflow answer

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-feature ✨Enhancement: new feature or enhancementF-elementsFeature: non-menu game UI elements (board, player & captures panels, annotations, etc.)F-gameplayFeature: gameplay (piece selection, moves, etc.)icebox ❄️Icebox: on hold until further notice

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions