Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement pre-moving #11

Open
nelson137 opened this issue Feb 14, 2023 · 0 comments
Open

Implement pre-moving #11

nelson137 opened this issue Feb 14, 2023 · 0 comments
Labels
E-feature ✨ Enhancement: new feature or enhancement F-elements Feature: non-menu game UI elements (board, player & captures panels, annotations, etc.) F-gameplay Feature: gameplay (piece selection, moves, etc.) icebox ❄️ Icebox: on hold until further notice

Comments

@nelson137
Copy link
Owner

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
@nelson137 nelson137 added E-feature ✨ Enhancement: new feature or enhancement C-gameplay labels Feb 14, 2023
@nelson137 nelson137 added this to Gambit Feb 14, 2023
@nelson137 nelson137 moved this to Todo in Gambit Feb 14, 2023
@nelson137 nelson137 added this to the Chess.com parity milestone Feb 14, 2023
@nelson137 nelson137 added F-gameplay Feature: gameplay (piece selection, moves, etc.) F-elements Feature: non-menu game UI elements (board, player & captures panels, annotations, etc.) icebox ❄️ Icebox: on hold until further notice and removed F-moves labels Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-feature ✨ Enhancement: new feature or enhancement F-elements Feature: non-menu game UI elements (board, player & captures panels, annotations, etc.) F-gameplay Feature: gameplay (piece selection, moves, etc.) icebox ❄️ Icebox: on hold until further notice
Projects
Status: Todo
Development

No branches or pull requests

1 participant