Tiny Pacman 3: Return of Pacman
Level one of Return of Pacman. Here the bonus item '£' has appeared (worth two points).
Program listing on 48K Spectrum. All additional concepts, implementation and optimisations for this version by Einar Saukas.
1 DIM p(10):
FOR l=0 TO 4:
FOR f=1 TO 10:
PRINT AT f,0;m$(f*w-11 TO f*w):
LET k=CODE INKEY$-48:
FOR a=1 TO l+2:
LET i=(a=1)*((k=7)-(k=6)+w*((k=8)-(k=9)))+SGN (ABS i-2+SGN (p(1)-g))*(1+11*(i>0))*(g<>p(1)):
LET c=CODE m$(g+i+1)-45:
PRINT AT g/w+.5,g-w*INT (g/w);m$(g+1);AT w,0;s+l*58+b*2;AT 3,4; INK a;"£" AND f>50;AT p(a)/w+.5,p(a)-w*INT (p(a)/w);"c@@@@@"(a):
IF a=1 OR p(a)-p(1) THEN NEXT a:
DATA 12,0,"OOOOOOOOOOOOO..........OO..O OO.O..OO.O......O.OO...OOOO...",m$+m$(w TO )+m$
Note on above listing: The game uses the '(c)' copyright character as found in the ZX-Spectrum character set to represent the pacman character. This has been replaced with the standard ASCII 'c' in the above listing. Also the '£' British pound symbol is present in the listing which may not copy & paste correctly on some systems.
Download the game
About the game
The second sequel to the game "Tiny Pacman", and the final game in the "Tiny Pacman Trilogy". This version features the blue coloured 'son of pacman', and is set in a 'daylight' environment, to save space in the program listing. The object of the game is as before to clear all the dots in the maze, and avoid being eaten by the ghosts. However in this version there is a single bonus item on each level, worth two points, and it appears as a '£' pound sign. The bonus item does not appear right away, but when it does, you should grab it as soon as possible. If you don't, then a ghost may get there first, and deprive you of the two points. You can complete this game by beating all five levels, for a score of 290 points or above. However, to consider yourself a true champion of "Tiny Pacman Three: Return of Pacman", you must obtain the bonus on each of the five levels, and finish with a winning score of exactly 300 points. Many thanks again to Einar Saukas who developed the bonus concept of this game, implemented the coding techniques, and made it possible to fit into the oneliner contest limits with extensive optimisations.
Rules of the Game
The keys for this game are sinclair joystick 1 layout / keys 6-left, 7-right, 8-down, 9-up
Only one keypress registers at a time due to the use of INKEY$
You only have one life. If a ghost catches you, the game is over
Complete all 5 levels to win the game. There is an extra ghost in the maze for each successive level. The maximum possible score in this game is 300 points, if all bonuses are succesfully taken.
|Hall of Fame|
The following people have completed the game
(No-one has yet been known to complete the game)
The following high scores have been submitted
(No high scores have yet been submitted)
To submit a score to the hall of fame, please send a PM to "Digital Prawn" on the "World of Spectrum" Forums.
Back to Sinclair stuff index