would a connect 4 game really be hard to make with like a 5x5 board if you make it from scratch and without the help of some premade libraries? need an answer asap cause i need to decide whether i would continue with my connect 4 game or change it

Recommended Answers

All 3 Replies

Is relatively simple.
You can output a 5x5 board and label each box as coordinates.
Then you take turns asking for user input -- given at least 2 players play.

00 01 02 03
10 11 12 13
20 21 22 23
30 31 32 33

Say I want to put an X or O in a the top left it could be 00 or top middle 01...etc

Then you would run your algorithm for checking who first connects 4 wins.

thx for the quick reply, when i showed the game to my professor she said she would permit me to present it if i would make it without using other libraries and that in turn would make long if statements. i think i should just go for

Yes, you can make this without using other libraries and yes it would turn out to be a long if statement.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.