The task says a move is possible, if there is an adjacent empty space left of a tile. I don’t understand which value a empty space or also a tile have, so I can compare them. Is the value of an empty field 0 ?
your idea is correct! An empty tile is represented by a value of zero.
but if I for example load the first field and compare it with zero (and I know it is zero because of the public test) it doesn’t branch like I want it. Is this the right way ?
I guess you are not correctly loading the first field then…
You are aware that for this task, the current line is passed as an array of pointers to half-words? So the code to load the first number looks different than before.