It is the well-known game named Pacman coded in assembly language with x86 instruction set, 8086 version. The game can be played in multiplayer mode on one PC and also on 2 PCs using UART serial communication through the dos emulator DOSBox with two modes the Play mode and the Chat mode in which you can talk with the other player.
The Game has two levels. In level 1 it starts with each player entering with a Pacman from two different sides and The objective of each player is to reach the opposite end before his opponent to be able to win. On his way he will be faced with ghosts moving at the openings of the maze, he must avoid them or he'll die and the other player wins. There will also be powerups like the freeze powerup(if caught by one player it will freeze the other). If the two players collide the game will be over for both. There are five different powerups in total like freeze, start from the beginning, freeze the ghosts, make him Invincible to ghosts or change the other player to a random location. In level 2 the number of ghosts will be increased by 1 and there will be scam powerups that look exactly like the regular ones but here it affects the player who caught it badly (like making him/her go to the beginning and not the opponent).
- Install DOSBox.
- Open
DOSBox Options. - Look for cycles and change it to
cycles=fixed 1500
- Add the following lines to the end of the text file.
mount c D:\CMP2023\projects\Pacman
c:
tasm pacman.asm;
tlink pacman.obj;
pacman
Note: do not forget to replace D:\CMP2023\projects\Pacman with your local directory.
there is a file named explanation with full insrtuction on how to run the game in this mode
For the first player
Wto moveUPSto moveDOWNAto moveLEFTDto moveRIGHTFor the second playerArrow UPto moveUPArrow DOWNto moveDOWNArrow LEFTto moveLEFTArrow RIGHTto moveRIGHT
- Assembly8086 - low level programming language.
- DOSBox - emulator program.




