Share your repls and programming experiences

← Back to all posts
Connect 4 On Python
kmlu1993
Voters
DexieTheSheep
greenbean765
Geocube101
kmlu1993
Comments
hotnewtop
AntonAlley

Nice. But I got an Error!

|||||||R|
|B||||||R|
|B|
|||||R|
|R|||||R|B|
|R||B|B|B|R|B|
|R|
|B|B|R|R|R|

Traceback (most recent call last):
File "python", line 97, in <module>
File "python", line 30, in check_player_win
File "python", line 61, in check_diagonal_up_right
IndexError: list index out of range

AntonAlley

@AntonAlley Oh haha the formatting got messed up when I commented

greenbean765

a made a version with color and a clearing screen
https://repl.it/@greenbean765/connect-4-with-color

Geocube101

Nice, a little easy, but nice

kmlu1993

Its Awesome