Hello! I'm implementing this (http://www.puzzle-light-up.com/) game. I've started by making a 120x120 grid placed in centre of my screen. I also created a 2D array. My idea was to make seperate files with lots of puzzles. In the files there would be a notation like this:
0=empty/unlit
1 = lit
2=filled in block with nothing in it
3=filled in block with 1 in it etc.
6 = has light bulb in it
Could you teach me a way to fill this 2D array with a seperate/external file. I was thinking of a loop which fills board[x][y]. Also, if you have any tips on how to represent the array visually after it's loaded please tell me.
Thank you :D