Hi @mikolaj. This is just the classic game of 2048.
You could check for any moves remaining quite simply by seeing if there is either a space (which I think you are checking) in addition to seeing if any single # is beside any other matching #. Here, let me code this ...
Change the 5x5 map in the MAPPER editor. Run the code. It will determine if a move is possible every time even if the board is filled.
[Please log in to post a comment]