Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changes to Tic Tac Toe Game?

 
Ollie Dee
Greenhorn
Posts: 10
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic