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

Appologies if this is not ther ight place for this #196

Open
Jasonmcgowan14 opened this issue Apr 8, 2022 · 3 comments
Open

Appologies if this is not ther ight place for this #196

Jasonmcgowan14 opened this issue Apr 8, 2022 · 3 comments

Comments

@Jasonmcgowan14
Copy link

HI--- I am trying to use this repo as part of another project. I am relatively in experienced and was wondering if the code demo version was posted somehwere, specifically the portion that relates to the pgn notation and move logging. I have my own version running, but could save myself a lot time in angular with an example of how you set up the demo. Is that posted in a different repo somewhere? I am not finding it in this one. Again appologies if this is a silly question. Thank you kindly,
JM

@grzegorz103
Copy link
Owner

Hello.
Code for demo is in this directory:
https://github.com/grzegorz103/ngx-chess-board/tree/master/src/app
In app.component.ts and app.component.html

147 line in app.component.ts invokes a method that sets pgn on the board.
For move logging I think you mean the moveCallback method from 76 line of the same file.
These methods are passed or invoked in app.component.html

I hope it helps and if you have any more questions let me know please, thanks

@Jasonmcgowan14
Copy link
Author

Thank you kindly sir/madam. I am trying to implement a timer that will work with the board and behave as in a normal chess game. This could be a cool new feature for the app. Again thank you,
JM

@grzegorz103
Copy link
Owner

You're welcome if you need anything else let me know. Good luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants