Refactor
Opened this issue · 0 comments
marcofiset commented
I'm not satisfied with the first implementation, the data isn't properly modeled.
Board would be a map with keys :size :area :cells
. Cells would contain an array of area
elements, with each element being a map with keys :x :y :state
.
Everything should be updated according to the new data format.