Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Trouble with Connect Four Game

    I am working on an assignment to create a connect four game using java. I have my grid set up with an array of JButtons but I am having trouble with where the player places their piece. I am using an actionPerformed method for the buttons and have a little bit of a loop started but its seems too complicated and I am a bit lost. Anyone have any tips?

  • #2
    New Coder
    Join Date
    Mar 2011
    Location
    Utah
    Posts
    30
    Thanks
    0
    Thanked 6 Times in 6 Posts
    Paste your code, it's impossible for us to help without it


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •