Skip to main content

All Questions

2 votes
2 answers
255 views

Checking for win on a wrap-around Connect 6 board

I have a method, that checks win conditions on a "Torus" board, which is a board without any borders. This means that if you place 4 diagonal stones on the top left, and 2 diagonal stones in the ...
glera's user avatar
  • 21
1 vote
1 answer
905 views

9×9 Connect 4 for 2 players

As a high school assignment, I was asked to make a Connect 4 game in Java. I have created a 9×9 2-D array that two players can play. I'd appreciate any feedback or suggestions. ...
Emank's user avatar
  • 13
5 votes
1 answer
3k views

Connect Four class project

I am in a computer coding class and we have to make a project for Java. Is there any way we can better our existing connect four code? ...
NewToJavaPleaseHelp's user avatar
5 votes
1 answer
22k views

Java Connect Four "Four in a row" detection algorithms

I am making a connect four type game for my end of the year project in my programming class. I am about to start building off of the console based version I have made and add a GUI, but I feel sort ...
Smarticles101's user avatar
4 votes
1 answer
914 views

Winning Loop Connect 4

I am writing a fully functional single player Connect 4 game. I am working on the second player and the while loop that tells the player who won. GUI ...
Lucian09474's user avatar