package hackerrank;

import java.util.Scanner;

/**
 * https://www.hackerrank.com/challenges/bomber-man
 */
public class TheBombermanGame {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // TODO
    }
}

@@ -142,108 +142,470 @@
    p
-ublic static void main(String%5B%5D args) %7B%0A        Scanner in = new Scanner(System.in);%0A        // TODO
+rivate static void bomberman(char%5B%5D%5B%5D matrix, int maxRow, int maxCol, int seconds) %7B%0A        // TODO%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        Scanner in = new Scanner(System.in);%0A        int r = in.nextInt();%0A        int c = in.nextInt();%0A        int n = in.nextInt();%0A        char%5B%5D%5B%5D matrix = new char%5Br%5D%5Bc%5D;%0A        for (int i = 0; i %3C r; i++) %7B%0A            matrix%5Bi%5D = in.next().toCharArray();%0A        %7D%0A        bomberman(matrix, r, c, n);
 %0A   

Update The Bomberman Game