Added: 3 years ago
From: xoaxdotnet
Views: 41,647
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • 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?

  • @EQTo6q GetAsyncKeyState is Windows only. He tries to make these tutorials usable for all Operating Systems.

  • why did you declare iRowMove and iColMove with a (iRowSpace) and (iColSpace)

  • ³Ø½¼ Ç÷¯±×

  • you don't use WASD, you barbarian!

  • @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 ;).

  • Hexadecimal codes....cool! :D

  • @DaCyanWaffle123 lol, do you mean at the end? that are binary codes:P but still cool

  • wow u really professional ... i cant even understand C++ T_T

  • good informative video, thanx.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more