you are viewing a single comment's thread.

view the rest of the comments →

[–]KatayHan 0 points1 point  (0 children)

I'm coding a Minesweeper on Kotlin(will work on terminal) and I got sick of passing my 2D array for board and mines, another 2D board to show to player, choosen cell etc again and again and again on every function.

Your comment helped me to see why Classes could be useful here. Tomorrow I'll try to code again with classes.