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)
Specific Element Count
Angle between two vectors
Make a simplified barcode
Max index of 3D array
Sum of series III
Volume of a Parallelepiped
What is Title of Cody Challenge 42?
GJam: 2013 Rd1a Bullseye Painting
Extract Built In Functions and Toolbox Functions from String or Function Handle
USC Spring 2012 ACM: Armageddon
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