Comments (6)
Looking into the save feature, I think we would need to create our own SGF file generator and interpreter.
While the moves on both boards may be the same, if a quantum piece is captured, the changes on both boards are likely to be at different coordinates. A typical SGF viewer like Sabaki may not be able to handle this since it canβt manage two boards simultaneously. Please correct me if I am wrong.
We should also add a variation parameter. Eg: VA[quantum]
in the SGF file so that this feature could be used for other variations.
from govariants.
Some thoughts:
- Save games
Downloading the game moves is certainly possible. Some of our variants (including Quantum Go) save the moves in Smart Game Format (SGF). So I believe the produced files could then be opened by SGF Editors like Sabaki. But the games would not be display in the same way as on the website (e.g. for Quantum Go, a normal SGF reader would not display two boards).
- Undo Request
This would be nice to have for all variants. It would be desirable if we could implement this without adding complexity to the variants (i.e., without handling "take-back" moves in all variants, if possible).
- Making Quantum Go to be an Incomplete Information Game
Should this be the default rule for all games of Quantum Go, or should it be configurable whether this rule is used or not?
from govariants.
Thanks for your prompt response! I agree that saving may need a different format, but perhaps we could start with the regular SGF? That is there will be two .SGF one for each board; Note that for the second board, it also would need to be Black, White, Black, White--the current way of displaying is not optimal because it shows White goes first on the second board, so could this be fixed? I agree with you on "Undo Request". Regarding 4, could we make one quantum variant where we count the average of both games as the result (complete information), and another quantum go variant where it is an Incomplete Information Game?
from govariants.
I agree that saving may need a different format, but perhaps we could start with the regular SGF? That is there will be two .SGF one for each board;
I think a single SGF file would be sufficient. SGF stores move coordinates, not board states, and the moves are the same on both boards.
the current way of displaying is not optimal because it shows White goes first on the second board, so could this be fixed?
I think I understand what you're saying, although the intent was not to say "this move was placed by white", but rather "this stone will function as a white stone throughout the game".
This would be a a small thing to change - I can share some code pointers if you or someone else is interested in making the change to just solid green on the first move.
Regarding 4, could we make one quantum variant where we count the average of both games as the result (complete information), and another quantum go variant where it is an Incomplete Information Game?
This is a little more in-depth change, but its possible, and again, I'd be happy to work with a willing implementer.
My main question is UX: how do users select the board? Would this get easier with #134?
from govariants.
That seems correct. I realize that if the goal is to view in a standard SGF editor, then it makes sense to output two files (representing quantum capture with the AE
field?)
Generally, captures are not explicitly included in the SGF, which is why I commented that one file should be sufficient earlier.
from govariants.
Sounds good. Here are the two versions I could work on:
1). The software will create a modified SGF file to include all the game data in one file. This may break some format rules of the standard SGF file and would be unusable by other SGF editors except for ours. But regardless, most SGF editors won't be able to handle the quantum version anyways.
- The software will create two files that follow the SGF format. These files could be opened by SGF editors, but the downside is that the user would have to keep two files per game.
I'll start working on this feature and see what works best.
from govariants.
Related Issues (20)
- Take / Leave Seat can cause crash
- Loading Spinner
- ASLI
- hash password before login request HOT 3
- Display player colors or symbols
- Dimensions object
- Admin users and dashboard
- Migration strategy HOT 4
- Duplicate move on game HOT 1
- Timeout bugs in parallel variant HOT 7
- Display komi and other "invisible" configs HOT 1
- Sequential Fractional Baduk
- Overlapping Layout in game page for variant quantum HOT 3
- Config Not Editable for Variants without a Config Form HOT 1
- Graph expects intersection IDs to equal their index HOT 7
- [optimization] do not re-render board every move HOT 1
- Improve Server endpoint for fetching the game state
- Optimize network calls wrt. game-state handling in the game view
- Quantum go uses Coordinate.toSgfRepr() (in exportState), which throws an error with the grid boards.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from govariants.