There are mines under the squares. Open one: the number tells you how many mines are around it. From there it is reasoning — open all the rest without ever hitting one.
Mini Games GO