wood burning stoves*
The moose likes Game Development and the fly likes Changes to Tic Tac Toe Game? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Changes to Tic Tac Toe Game?" Watch "Changes to Tic Tac Toe Game?" New topic
Author

Changes to Tic Tac Toe Game?

Ollie Dee
Greenhorn

Joined: Jan 06, 2013
Posts: 10

I was hoping someone could show me how to change this Tic Tac Toe game so it resembles Connect4 I have the Rows and Columns changed I dont know how to modify the mouse clicked event handler and the has won method. Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41586
    
  54
Connect4 is rather different than Tic-Tac-Toe. I don't know that it would be the best approach to start from the latter. What's more, there are many Connect 4 Java source codes available on the web; why not start with one of those, and adapt them to your liking?


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Changes to Tic Tac Toe Game?