basic-computer-games icon indicating copy to clipboard operation
basic-computer-games copied to clipboard

Checkers jumps its own pieces, and somehow jumps when it's not in a position to (python)

Open hsq-cernansky opened this issue 4 years ago • 7 comments

It jumps when it's not in position to. Also, it jumps its own pieces on its way to jumping my pieces.

hsq-cernansky avatar Jan 03 '22 23:01 hsq-cernansky

Hmm. is this a bug in the original, or just the python implementation?

coding-horror avatar Jan 04 '22 04:01 coding-horror

Playing the same moves in the BASIC version with vintbas does not cause the problem, so it looks to be unique to the python version.

hsq-cernansky avatar Jan 04 '22 23:01 hsq-cernansky

I believe @tsmaster was the person involved with the Python port of Checkers. Dave, if possible can you take a look at this?

Many thanks

journich avatar Jan 12 '22 02:01 journich

I'll take a look. Can @hsq-cernansky provide a series of moves that reliably reproduce the problem?

tsmaster avatar Jan 12 '22 03:01 tsmaster

I played one game vs the AI, and noticed no problems. Will be happy to look further with a repro case. Perhaps also would be good to know what OS and version of Python you're using. I'm testing on Linux with Python 3.9.5.

tsmaster avatar Jan 12 '22 03:01 tsmaster

Thanks for your help with this @tsmaster. Lets see what @hsq-cernansky comes back with.

journich avatar Jan 12 '22 06:01 journich

Could not reproduce the issue. I am on macOS Big Sur w/ Python v3.9.9.

hsq-cernansky avatar Jan 12 '22 18:01 hsq-cernansky