When you pass through all #, you will clear the game.
gcc GameMain.c
./a.out
gcc -D CUSTOM GameMain.c
./a.out
Input vertical length, horizontal length and the number of originally . places. Entering a large number may result in huge run times or even errors