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

Quantum Go #198

Closed
merowin opened this issue Feb 17, 2024 · 5 comments
Closed

Quantum Go #198

merowin opened this issue Feb 17, 2024 · 5 comments
Assignees

Comments

@merowin
Copy link
Collaborator

merowin commented Feb 17, 2024

Rules (as I understood):

Played on two (entangled) boards, every move places a stone on both boards at the same position. The move must be a legal move on both boards (with respect to normal go rules). Every stone is entangled with its counterpart on the other board, in the sense that a capture on one board implies the other entangled stone also being captured.

The first two moves are special (quantum-) moves: the black and white stone switch places on one of the boards (i.e. if black plays d3 and white e3, one board will have swapped stones: black on e3, white on d3). The two black stones (respectively white) are also entangled in the same sense as above (and specially marked).

At the end of the game, the resulting score is the average of both boards.

Alternatively: Before the first move both players secretly chooses one of the boards. If both chose the same board, only its score is taken. Otherwise the average score, as above.

@benjaminpjones
Copy link
Collaborator

Oh I forgot that removing stones could remove stones on the other board. That complicates things a bit. Well need some way of modifying the board state in a way that's not consistent with standard go rules.

Additionally, does this "quantum capture" apply to non-quantum stones? I thought only the green stones were entangled

@merowin
Copy link
Collaborator Author

merowin commented Feb 17, 2024

Additionally, does this "quantum capture" apply to non-quantum stones? I thought only the green stones were entangled

I'm not sure, but in the demo game, I believe the ladder stones were removed on both boards, even though they still had liberties on one of the boards (via connection to one of the quantum stones).

@benjaminpjones
Copy link
Collaborator

I went ahead and created a branch for this variant! I haven't implemented any game logic, but wanted to get the mappings and graphical interface set up since that is the part that is probably more complicated for a newcomer to our codebase.

@benjaminpjones
Copy link
Collaborator

Had a chance to run the program this weekend, and I think you're right that "normal" stones are also entangled. All stones are connected to another stone on the other board, although the "quantum" stones are connected to a different coordinate (remove one white stone, and the white stone is removed on the other board)

Screen.Recording.2024-03-03.at.7.43.05.AM.mov
Screen.Recording.2024-03-03.at.7.43.37.AM.mov

@benjaminpjones
Copy link
Collaborator

Linking #202 (main implementation) and follow-ups #217 #218 #220. I believe this is implemented! We can address bugs or enhancements in new issues.

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

No branches or pull requests

2 participants