Chess icon indicating copy to clipboard operation
Chess copied to clipboard

There is some error in the code

Open grootste opened this issue 6 years ago • 6 comments

1352, in (square_width6,square_height2)) TypeError: integer argument expected, got float

grootste avatar Mar 26 '19 14:03 grootste

transform it into integer by int()

ProCoder183 avatar Feb 09 '20 19:02 ProCoder183

This is likely an issue caused by running with Python 3 instead of 2

mnahinkhan avatar Jun 17 '20 10:06 mnahinkhan

Who is running Python 2?

papagooo avatar Jan 08 '21 16:01 papagooo

Who is running Python 2?

Indeed, Python 2 is outdated now. Some of the forks to this project have converted it to Python 3 compatible code, if you are interested :)

mnahinkhan avatar Jan 08 '21 16:01 mnahinkhan

just downloaded your V3 updated.txt. First attempt looks like it is working. Impressiv work.

papagooo avatar Jan 08 '21 17:01 papagooo

just downloaded your V3 updated.txt. First attempt looks like it is working. Impressiv work.

Interesting, It's actually not my code, but someone else wrote that in the other Issue thread in which you probably found it. Thank you for your kindness though, hope you enjoy!

mnahinkhan avatar Jan 08 '21 17:01 mnahinkhan