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

Intransitive card game. #2

Open
Carreau opened this issue Jul 16, 2022 · 7 comments
Open

Intransitive card game. #2

Carreau opened this issue Jul 16, 2022 · 7 comments

Comments

@Carreau
Copy link
Collaborator

Carreau commented Jul 16, 2022

There are games know as "intransitive", basically A > B > C > A, so thre can't be any "winner". It would be good to figure out how to make this automatically for trading cards after giving them statistics, like attack/defence.

@Carreau
Copy link
Collaborator Author

Carreau commented Jul 16, 2022

Talking with @danielballan, he suggested putting the cad on a cycle, and finding way to count the number of nodes to go from A to B in clockwise and anticlockwise direction, and the smallest one give us which card wins.

@Carreau
Copy link
Collaborator Author

Carreau commented Jul 16, 2022

There might be also some things we can use out of dobble game that uses projective plane math to make sure two cards only have a single symbol in common.

@danielballan
Copy link

I guess rock--paper-scissors is an example of such a game. One useful train of thought may be to consider how to extend that to N objects in a graphical way.

@Carreau
Copy link
Collaborator Author

Carreau commented Jul 17, 2022 via email

@danielballan
Copy link

Yeah, that seems doable mentally. How does it determine which card “wins”?

@Carreau
Copy link
Collaborator Author

Carreau commented Jul 17, 2022

How does it determine which card “wins”?

Whatever is positive. As A^B = - B^A as long as you have a convention to consider your card first that should be good.

@danielballan
Copy link

That makes sense!

If each card gets a 2D coordinate there are several games that might be possible: battleship is one.

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