connect 4???

has anyone created a game connect4 using C++? if yes how do u start it? can anyone show me their codes?
This sounds like homework.

Make yourself a 2D array (6 rows and 7 columns). Each element should be able to tell you whether it is empty, filled with red, or filled with black.

You'll need a function to display the array.

You'll need a function to check the array to see if there anyone has won.

If it is not homework, I suggest you play with SFML to draw pretty graphics, as well as the array stuff.

Good luck!
Don't forget a few methods for players taking turns.
Topic archived. No new replies allowed.