Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    6
    Views
    1,291

    Re: Seeking help with minesweeper style program.

    I have executed your code and see that your computations are wrong. You need to redo the logic and come up with some new forumulas for computing the values you want.

    Do you have the x,y and...
  2. Replies
    6
    Views
    1,291

    Re: Seeking help with minesweeper style program.

    Can you explain what the problem is?

    Do you have the x,y and width,height of each square?
    Do you have the x,y of where the mouse was clicked?
    Given those data points, you should be able to...
  3. Replies
    6
    Views
    1,291

    Re: Seeking help with minesweeper style program.

    Try debugging the code by adding printlns to show the values of the variables as the program executes. For example show the x,y of the mouse click and the secret values and the x,y values

    Take a...
Results 1 to 3 of 3