Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A chess plugin for obsidian

License

NotificationsYou must be signed in to change notification settings

SilentVoid13/Chesser

Repository files navigation

A chess game viewer/editor forObsidian.

Demonstration

chesser_demo

Usage

To useChesser, you first need to declare achess code block like so:

chesser_block

This will create a basic chess board in the start position.

You can declare various settingsinside thechess code block, like aFEN string to describe a particular board position. You can find the full settings list below.

Settings

Here are the available settings for achesr code block:

NamePossible ValuesDescription
fenA valid FEN stringStarts the chess board with a particular position.
pgnA valid PGN string formatted for YAMLLoads the chess board with the moves from a PGN game
orientationwhite/blackOrientation of the board.
pieceStyleA valid piece style name.
Checkthis to view available styles.
Style of the pieces on the board.
boardStyleA valid board style name.
Checkthis to view available styles.
Style of the chess board.
drawabletrue/falseControls the ability to draw annotations (arrows, circles) on the board.
viewOnlytrue/falseIf enabled, displays a static chess board (no moves, annotations, ...).
freetrue/falseIf enabled, disables the chess logic, all moves are valid.

You can permanently set some settings inChesser's obsidian plugin settings.

PGN must be properly formatted as a multiline YAML string (pipe to indicate multiline and 2 or 4 spaces for indent) eg;

pgn: |  [Event "Mar del Plata"]  [Site "Mar del Plata ARG"]  [Date "1960.03.30"]  1. e4 e5 2. f4 exf4 3. Nf3 g5 4. h4 g4 5. Ne5 Nf6 6. d4 d6  7. Nd3 Nxe4 8. Bxf4 Bg7 9. Nc3 $6 Nxc3 10. bxc3 10... c5  11. Be2 cxd4 12. O-O Nc6 13. Bxg4 O-O 14. Bxc8 Rxc8 15. Qg4 f5  16. Qg3 dxc3 17. Rae1 Kh8 18. Kh1 Rg8 19. Bxd6 Bf8 20. Be5+  Nxe5 21. Qxe5+ Rg7 22. Rxf5 Qxh4+ 23. Kg1 Qg4 24. Rf2 Be7  25. Re4 Qg5 26. Qd4 Rf8 27. Re5 Rd8 28. Qe4 Qh4 29. Rf4 1-0

TODO

  • AddPGN file support

Installation

After disabling Safe Mode, you can find third-party plugins in Settings > Community plugins > Browse > Search for "Chesser".

After installing, you can then find the installed plugins under Settings > Community plugins. They need to be enabled in order to take effect. You can also uninstall them there.

Alternatives

Contributing

Feel free to contribute.

You can create anissue to report a bug, suggest an improvement for this plugin, etc.

You can make apull request to contribute to this plugin development.

License

Chesser is licensed under the GNU AGPLv3 license. Refer toLICENSE for more informations.

Support

If you want to support me and my work, you can donate me a little something by clickinghere.

About

A chess plugin for obsidian

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp