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)
Count from 0 to N^M in base N.
given 3 sides, find area of this triangle
Whether the input is vector?
Test if two numbers have the same digits
Ripping numbers apart!
Rubik's Cube: 30 Moves or Less: Minimum Avg Time
REPMAT Enhancement - Faster for Large Row Replication of Vector
Unique: Enhanced Performance - Large and Wide Array - Speed Improvement (66% savings)
Image Processing 01: Vignetting Correction
Image Processing 2.1.1 Planck Integral
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