File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Count a players wins in Connect four

 
Ollie Dee
Greenhorn
Posts: 10
Java Oracle
  • 0
  • 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
Pie
Posts: 12015
24
Chrome Java Linux
  • 0
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic