
-----------------------------------
iamkyle015
Wed Nov 04, 2009 12:34 pm

Making Minesweeper in Ready To Program.
-----------------------------------

import javax.swing.*;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;

public class Minesweeper
{
    public static void main (String
in the initMinesweeper i have to do these things:
        // 1. Assign mines to positions in the grid
        // 1.0 repeat these steps for desired number of mines
            // 1.1 random row & column

            // 1.2 if the cell does not already contain a mine
                // 1.3 assign mine to the cell in game array


        // 2. Count the number of mines adjourning each cell and store that number
        // 2.1 for all cells
                // 2.2 if the cell does not contain a mine
                    // 2.3 count the number of mines in adjourning cells
                    // 2.4 store the count in the cell in the game array

can you help me a little because im stuck and dont know what to do?

Mod edit:  Code tags are cool, mkay?

-----------------------------------
Euphoracle
Wed Nov 04, 2009 1:45 pm

RE:Making Minesweeper in Ready To Program.
-----------------------------------
What concept do you need help with in particular and what do you have thus far?

We don't want all the code as we'll help you with single concepts, assuming you've made an attempt already, and not specifics regarding this particular situation.

-----------------------------------
S_Grimm
Wed Nov 04, 2009 4:47 pm

RE:Making Minesweeper in Ready To Program.
-----------------------------------
1) code tags

2) what specific problems are you encountering?

3) code tags

4) get rid of ready to program and compile with command line. (JDK) or use another IDE like eclipse. but RTP is very outdated.

5) *I dont think i stressed this enough* code tags!!!
