![]() For an even longer solution, see Sokoban/C. Doesn't output the movement keys, instead it animates the sequence for you. Long, long, long C99 code (plus GNU C nested functions). ![]() Open.append((temp, csol‘’di, x + dx, y + dy)) ![]() Then it slowly becomes harder and harder. The first 5-6 levels are fairly easy, and won’t take a lot of time. To do this, you are in control of a little man, who can walk and push. ![]() | data != ‘ ’ĭata = + 2 * dy) * :nrows + x + 2 * dx] = ‘*’ There are a lot of crates that need to be pushed to the right spaces.
0 Comments
Leave a Reply. |