DEV Community

Discussion on: Tic-Tac-Toe you can't beat...

 
james_palermo_bc208e463e4 profile image
James Palermo

Your code is very neatly done, but you really should try to get in the habit of commenting on what functions do in a clear way, and when you introduce a new variable say what it is.

For example, at line 51 by looking at the function "def bconv(TTT):" i can immediately tell this thing is converting from B to T. I have no idea what B and T is, or why you're converting them in the first place.

Bacons to tomatoes? :D