-
-
Notifications
You must be signed in to change notification settings - Fork 410
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
Develop a new chess activity #592
Comments
I've two doubts:
|
|
can we use libraries other than P4wn for the engine? |
You could if it match the rule above. Specifically: it work on any browser, it's open source, it not depends from a server side, it don't use ES6 syntax and feature (Service Worker, ...). |
@Swayamsvk could you elaborate more as to what exactly you did and if maybe possible share the code |
I was creating a new activity.I even cloned the current code in the master branch but still, this error exists. |
No, sugarizer works offline. |
It works fine on firefox. But showing problem on chrome. |
@Swayamsvk I suggest you to clean your browser cache |
@Swayamsvk try closing all tabs on your browser and then just running index.html from terminal |
Thanks a lot @llaske it helped. |
Few questions,
|
|
Thank you for the answers, @ashish0910 @llaske I have another question related to the multiplayer mode, what happens when two people have already joined the activity and another person attempts to join it? Should the third person be not allowed to join? or maybe he could join but not do anything, just watch the game. Implementing the later interests me if the idea seems useful to you. |
Yes the third person should be allowed to join the game as spectator . But if one of the user leave the game then the spectator can take place of the player |
Thanks to all participants. |
Fixed in #702 |
Develop a new chess activity for Sugarizer.
Detailed features expected:
Technically speaking, the activity could be written using pure JavaScript or using Vue.js inline (as in the Calligra activity). JavaScript ES6 syntax should be avoided.
The activity should be based on Chessboard JS for the UI and P4wn for the engine.
The text was updated successfully, but these errors were encountered: