very cool, love the problem!
Agreed, although (unlike you) I'm not clever enough to solve it without a joystick...
FOR THOSE WHO WANNA MAP IT AS YOU GO, for shigs
I already made the map for ya (DL the png, the fig takes more mem. to load in)
Easy as ...
map1 = imread('Map1.png');
map1 = imresize(map1, [M*18, N*18]);
Then when you're plotting your points, multiply the coordinate by 18 and shift x by -8 and y by +9
xShift = -8; yShift = 9;
x = j*18 + xShift; y = (M-i+1)*-18 + M*18 + yShift;
Fun stuff. Haven't solved the problem yet but I'm loving it (spending too much time on the graphics probably :D )
OH and the RGB for the ghosts is...
gh1 = [1 0 0]; % BLINKY (red)
gh2 = [20 299 228]/255; % INKY (blue)
gh3 = [226 147 228]/255; % PINKY (pink)
gh4 = [228 153 59]/255; % CLYDE (orange)
Back to basics 23 - Triangular matrix
Implement simple rotation cypher
Usage of java.math : N Choose K with unlimited precision
QWERTY Shift Code Decoder
TRON Tourney 000 : Clockwise Wall Hugger
Geometry: Find Circle given 3 Non-Colinear Points
PACMAT - G03 Ghosts use minimum path to PACMAT; 3 Lives
Rubik's Mini Cube: Solve Randomized Cube in 11 Moves or Less; Score is by Time (msec)
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office