태그 : quiz 요약보기전체보기목록닫기

1

Minesweeper 1 dimension version.

In last post, I used 2 dimension array. Below is 1 dimension version. class Board   def initialize(rows, cols)     @rows, @cols = rows, cols     @blocks = [...

Find mines!!

Actually this quiz came from 'minesweeper' of programming challenges. It's not difficult code, so skip explanation. And I have another idea that can reduce amount of memory usage when input data ...
1


구글애드센스