Cubic Minefield Javascipt

I know this is in python, but it says what to do:

1 Like