DEVELOPING AN ARCADE GAME INSPIRED BY PACMAN USING ASSEMBLY LANGUAGE
The classic "Pac-Man" game was written in Assembly Language. It was one of the first games developed by this new department within Namco. The game was developed by a young 24-year-old employee over a year, beginning in April 1979, employing a nine-man team. It was based on the concept of eating, and the original Japanese title is "Puckman".
The video game franchise remains one of the highest-grossing and best-selling game series of all time, generating more than $14 billion in revenue (as of 2016) and $43 million in sales combined.
The game is regarded as one of the most influential video games of all time.
The legendary "Pac-Man" was written in Assembly language so I wanted to make something similar but in a simpler and feasible manner hence me and my team made this game.
Piyu
Our game “Piyu” was inspired by Pac-Man. However, we tried to remove complexity in the code while maintaining the gist of the game. The traditional Pac-Man uses various call back codes for calling of different pictures as Pac-Man, Monsters and Food items.
Instead we used ASCII value of different values to display Emojis instead of pictures to keep it simple and compact. By creating a whole X-Y plane of the Raster we brought movement in the main character by incrementation and decrementation of its 2D plotting variable values.
We placed sub-components of the games that are Hearts, Mines, B-Rolls and Borders.
These are just the extreme values or restricted values of the X-Y plane counter. When the main character's location coincides with its location, the character stops and waits for external Keyboard interrupt for direction.
This is just the background of the game which disappears when the position of character becomes equal to that of B-Roll.
There are the end terminating operational locations which have the highest priority. These locations decrement the life by one. When the life drops down to zero the game ends.
It moves on the basis of X and Y incrementation and decrementation principles. Once any directional key is pressed i the keyboard, in goes on a infinite loop of execution until ay internal interrupt like mine, border or external interrupt like another directional key is pressed
By comparing position of the main character and heart we incremented the score counter and displayed it in the top left side of the main screen. As the position of character becomes equal to that of heart, one point is added to the score and the heart disappears. As the heart is deleted permanently from that position, hence no extra points are given if the character comes on the same location again. This way scoring of this game works.
Gameplay
Game Start :-
If Won :-
If Lost:-