Search:

Type: Posts; User: maikeru

Search: Search took 0.19 seconds.

  1. Replies
    0
    Views
    1,528

    How to represent a chain of moves?

    I'm having trouble as to how to solve this problem with Java since it hides the memory management for you. I need to be able to store a chain of moves. I want it to be possible to store different...
  2. Replies
    3
    Views
    5,278

    Re: Method for legal moves in connect four.

    Are you trying to say that if you know all the legal moves, then all other moves are illegal? I don't see how it's possible to make an illegal move in this game unless if a column is completely...
  3. Replies
    3
    Views
    5,278

    Re: Method for legal moves in connect four.

    Why not use an array of arrays, for example: board[6][7]? This way you could make a loop something like this:


    @Code
    For every column, starting at the last row and backing up, look for the next...
  4. Replies
    0
    Views
    2,148

    A thread as game loop

    I solved my thread issue, It's really stupid of me, but really easy to overlook with all this code.
  5. Replies
    3
    Views
    5,278

    Re: Method for legal moves in connect four.

    I may be able to help, but I need more information. Aren't there 7 columns? Columns resemble vertical lines and rows resemble horizontal lines.

    How are you using a single integer to represent...
  6. Replies
    5
    Views
    3,553

    Re: How overloaded paint() works?

    Well, I don't know what I'm doing wrong, but it seems no matter what, I can't do anything from scratch after reading on something. I can't even get a simple image to draw again. You don't have to...
  7. Replies
    5
    Views
    3,553

    Re: How overloaded paint() works?

    Thank you everyone. I finally got it working.
  8. Replies
    5
    Views
    3,553

    How overloaded paint() works?

    Hi, I've just recently started studying Java. While I've been studying c++ for the past few years, there's a project I want to do that I feel Java best suits my needs because all the built in GUI...
Results 1 to 8 of 8