deuces
deuces copied to clipboard
Python3 compatibility
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.
i tried using it in python3. pretty printing is broken. pull #35 appears to work.
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 ❤ ]
hi, no module named card ... I tried with the last comment, but same error????
Fixed in https://github.com/worldveil/deuces/pull/35 !