Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Java threads and synchronization
#5
Added full implementations of four of the classes to the OP, mess and all. I don't know what other information I can give; I'm cleaning up the explanation of how the program's supposed to work right now and will edit it into OP as soon as it's done. I put an overview of the game into the first part of the OP.

[MENTION=5537]Locked[/MENTION] did you spot any other errors? I don't actually think that loop is an error, but maybe you can tell me why I'm wrong. That loop just does nothing while checking if player1 or player2 have won, so as soon as either of the booleans return true (false with the negation), the loop ends and the last part of CardGame runs.
Reply


Messages In This Thread
Java threads and synchronization - by Jedward - 2014-02-20, 08:49 PM
Java threads and synchronization - by Locked - 2014-02-20, 09:05 PM
Java threads and synchronization - by Jedward - 2014-02-20, 09:09 PM
Java threads and synchronization - by Locked - 2014-02-20, 09:17 PM
Java threads and synchronization - by Jedward - 2014-02-20, 09:45 PM
Java threads and synchronization - by Locked - 2014-02-20, 09:59 PM
Java threads and synchronization - by Jedward - 2014-02-20, 10:08 PM
Java threads and synchronization - by Locked - 2014-02-20, 10:09 PM
Java threads and synchronization - by happylight - 2014-02-25, 07:07 PM
Java threads and synchronization - by Jedward - 2014-02-27, 08:06 PM
Java threads and synchronization - by happylight - 2014-02-28, 10:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)