aspose file tools
The moose likes Game Development and the fly likes Count a players wins in Connect four Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Count a players wins in Connect four" Watch "Count a players wins in Connect four" New topic

Count a players wins in Connect four

Ollie Dee

Joined: Jan 06, 2013
Posts: 10

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

Joined: Oct 02, 2003
Posts: 11814

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):


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.

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
I agree. Here's the link:
subject: Count a players wins in Connect four
It's not a secret anymore!