i was starting to make java programmed games so i started on a Minesweeper game..
i saw this problem but i don't know how to continue it...
i started using file processing(where you will get a notepad file input then output it in notepad too)
i also used the args for the file input
please help... this is the worded problem and instructions(you can download the file here): : Minesweeper set.rar - Windows Live
any help would be appreciated
my initial code is
Code :import java.util.*; import java.io.*; public class Minesweeper { public static void main(String[] args)throws IOException { Scanner basa = new Scanner(new File(args[0])); String[] grid = basa.nextLine().split(" "); int row = Integer.parseInt(grid[0]); int col = Integer.parseInt(grid[1]); int coord[][] = new int[row][col]; while(basa.hasNextLine()){ } } }
please continue....
