deuces icon indicating copy to clipboard operation
deuces copied to clipboard

Python3 compatibility

Open truenicoco opened this issue 4 years ago • 2 comments

Another python3 compatibility commit. It's a pity that you gave up on this repo, the code is quite great! Would be nice to update pypi version.

truenicoco avatar Jun 02 '20 16:06 truenicoco

i tried using it in python3. pretty printing is broken. pull #35 appears to work.

wmusial avatar Jul 19 '20 01:07 wmusial

i tried using it in python3. pretty printing is broken. pull #35 appears to work.

All thats needed for that pretty print to work is from Line 193 in card.py return " [ " + r + " " + s + " ] "

To return " [ " + r + " " + s.decode() + " ] "

Results [ A ❤ ] , [ K ♦ ] , [ J ♣ ] , [ Q ♠ ] , [ T ❤ ]

richardmcameron avatar Mar 12 '21 21:03 richardmcameron

hi, no module named card ... I tried with the last comment, but same error????

jsgaston avatar Apr 18 '23 00:04 jsgaston

Fixed in https://github.com/worldveil/deuces/pull/35 !

worldveil avatar Nov 28 '23 23:11 worldveil