Coder Social home page Coder Social logo

chrislicodes / obsidian-chess-study Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 1.0 1.29 MB

A chess study helper and PGN viewer/editor for Obsidian.

License: GNU General Public License v3.0

JavaScript 4.91% TypeScript 86.79% Shell 0.16% CSS 8.14%
chess obsidian obsidian-plugin study

obsidian-chess-study's Introduction

Hello Hello! πŸ‘€

obsidian-chess-study's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

latenitecoding

obsidian-chess-study's Issues

[Feature Request] Start Position FEN

Hi,

I would like to use this to study my Chess Steps books, but I need to be able to input tons of positions very fast. Do you think FEN starting positions will be added any time soon?

Support importing variants from Lichess

Hi!
First of all, this is great work. Thank you very much!
I tried importing a Lichess analysis with variants and noticed it imported only the main line.

I then tried to check your variant work and it works on top of the import, but ignores what was there.
Here's an example I created on Lichess:

1. d4 f5 2. h3 Nf6 3. g4 fxg4 4. hxg4 Nxg4 5. Qd3 h6 (5... Nf6 6. Rxh7 Rxh7 (6... Nxh7 7. Qg6#) 7. Qg6#) (5... g6 6. Qg3 d5) 6. Qg6#

Is there a different variant syntax you use? Or is importing variants not (yet) supported?

[Features request] Loading pgn and comments from the chess-study chunk

Hello,

Your plugin is really helpful. It would be still better if it was possible to:

  • Include directly the PGN in text format (inside the chess-study environment) rather than opening a new window, because first I want to keep a trace of the moves (if your plugin will stop to work one day); and secondly because I use Templater to fill these fields with the content of my clipboard.
  • It would be convenient as well if the comments of the PGN could be directly loaded in the dynamic interface.
  • Finally it could be useful to have a simple way to remove the json file associated to the chunk.
  • Will your plugin work on mobile?

Thank you!

Error in parsing PGN

Hello,

Thank you for this great plugin!

I tried to import this PGN (which works on lichess):

[FEN "r1bqkbnr/1pp2ppp/p1p5/4p3/3PP3/5N2/PPP2PPP/RNBQK2R b KQkq - 0 5"]
5... Bg4

and I get this error:

plugin:chess-study:45863 Error: Invalid move in PGN: [FEN
    at Chess.loadPgn (plugin:chess-study:25237:17)
    at PgnModal.onSubmit (plugin:chess-study:45838:21)
    at eval (plugin:chess-study:45769:14)
    at HTMLButtonElement.<anonymous> (app.js:1:820048)

Edit: I have noticed that starting from a given FEN is in your TODO list, sorry!

Best regards

The coordinate axis is not visible. Add more features

I don't see the coordinate axis of the chessboard as shown in the illustrated gif in your readme file.
Can you add interaction with arrow keys?

I really like this pluginπŸ₯°πŸ₯°, please continue developing it. Thank you very much.

[Feature request] Add option to disable the markdown are under the chess board

First of thanks for the awesome plugin. Really useful because unlike other plugins I can scroll through the moves. Also because PGN is a lot easier for humans than FEN.

However I notice that I rarely use the block of markdown area under the chess board so it takes up space for nothing. I would love to be able to disable it with an option in the code block. Or disable it in the default options and enable it only for the chess studies where I need one.

Broken on Obsidian canvas

chess-study broken on obsidian canvas

I had this wonderful idea tracking key/critical variations of a chess game by using obsidian canvas but I am unable to implement this because chess-study is broken on Obsidian Canvas. The thought was to embed chess-study code blocks at specific moves in a chess game. This would enable me to visually map out development of games as I see fit (great for a visual learner like me) .

  1. fix chess-study code blocks so that they can be added properly in canvas
  • chess pieces are misaligned when chess-study is added to a canvas
  • chess pieces can no be moved when chess-study is added to a canvas
  1. allow for chess study code blocks to be loaded on a specific move on initial canvas/obsidian load or when you unfocus
  • currently it seems that the default behavior is to load to the last chess move.

Reproduce

  • create a chess-study code block on canvas
  • converting the canvas "box" into a md file and embedding it on a canvas doesn't work either.

[Feature Request] Mobile friendly

On a smarthphone, you only see a portion of the chess board.

EDIT:
Thanks for this awesome plugin by the way!

I'd like to be able to contribute, but I only recently got started with React so this is too ambitious at the moment. I'll revisit this when I have improved in React :)

Directional Linking is impossible in the move's comment

Hi, I'd like to build my own chess database with a repertory of openings, but I can't link a move to a new not in the text space.
It would be really helpful to explore variations.

Hope you could do something.
Have a great day, and thanks for your amazing plugin.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.