Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Count a players wins in Connect four

 
Ollie Dee
Greenhorn
Posts: 10
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, could anyone show me how to write something to keep count of a players score, below is the code to display when either red wins or black wins, any ideas how I could add it to this code. Thanks

 
fred rosenberger
lowercase baba
Bartender
Posts: 12185
34
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just posting "it doesn't work" doesn't really allow us to help you. We even have a couple of FAQs on that very topic (click each):

ItDoesntWorkIsUseless
TellTheDetails.

Please read those and come back with more info. Remember - the best way to get help is to make it as easy as possible for someone to help you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic