Top Comments
All Comments (13)
-
@EQTo6q GetAsyncKeyState is Windows only. He tries to make these tutorials usable for all Operating Systems.
-
I have tried coding this myself using ur code as a reference..(not wanting to copy and paste).. however once the puzzle is randomized and printed to the screen at the start of the game, it is hardly jumbled at all. Done the same as you, looped a million times to make a ridiculous amount of random moves to hopefully jumble it up a bit.. but it doesnt seem to be doing much at all! I got annoyed and copied ur exact randomize function, and still the same result.. any ideas?
-
Why make your own function for moving when you can just use GetAsyncKeyState?
-
why did you declare iRowMove and iColMove with a (iRowSpace) and (iColSpace)
-
@DaCyanWaffle123 lol, do you mean at the end? that are binary codes:P but still cool
-
@PiratesVersusNinjas I never heard of something like WASZ.... :)
-
³Ø½¼ Ç÷¯±×
-
wow...
-
Brilliant code work ;). Too bad the puzzle this is based on is impossible. The original 14-15 puzzle, as popularized by Sam Loyd, had the last two tiles, the 14 and 15, switched and the puzzle was to switch them back. Thanks to a mathematical principle called parity, it's impossible - but the people who wanted the $1,000 prize money didn't know that ;).



you don't use WASD, you barbarian!
PiratesVersusNinjas 2 years ago 31
Hexadecimal codes....cool! :D
DaCyanWaffle123 2 years ago 8