Nice Connect Four game I made in python. I've added a lot of little quality of life features that not everybody might notice, but make the game a much more enjoyable experience to play and win. Feel free to give feedback!
Red and Blue will alternate turns automatically. The loser of the previous game will go always go first in the next.
To make a play, all you have to do is type in the number of the row you want to play in and press enter.
Note: If you encounter any errors, please put down in the comments the board state from when it happened and what the most recent play was. Thanks!
i don't know if this is a problem with repl.it or your code, but when i type a number, then press backspace, it deletes the prompt??
I might do that. I did manage to fix it though, instead of printing text and sticking the input on the end of it, which is how it was before, I'm just doing the whole thing as an input. It does result in a bit more code, but that's fine.
I was doing it that way because unlike your example, I actually had an if statement before, so it looked more like this:
choice = input()
Also, how did you get the text to go in a box like that?
I lUV iTTT 💕 I wish I can make a code like u did T^T
I got an error message, it says line 96 if(b6.....)
IndexError: List index out of range.
I love it! The ONLY thing I would suggest (very small suggestion) is that make the background color of whoever wins, make it that color.