denkspuren / BitboardC4

The Design of Bitboards for use in Connect Four
MIT License
62 stars 8 forks source link

fix for operator precedence #1

Closed inoryy closed 7 years ago

inoryy commented 7 years ago

I know it's supposed to be pseudo-code, but in majority of languages == and != have higher precedence than &, so if a developer blindly ports the code to something like Java, he's in for some fun debugging hours. :)

denkspuren commented 7 years ago

Valuable point, thanks a lot for your fix!