Skip to content

Ahmedmma72/Pacman-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

b4eec4d093adbe9d8a3cbb40d024836a

πŸ“ Table of Contents

🧐 About

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).

πŸ“Ή Video

ezgif-4-d5309f6ef75d

πŸ“· Screenshots

Screenshot 2021-02-14 234325

Screenshot 2021-02-14 234505 Screenshot 2021-02-14 234656

🏁 Install

  1. Install DOSBox.
  2. Open DOSBox Options.
  3. Look for cycles and change it to cycles=fixed 1500

For the one PC version of the game:

  1. 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.

For the two PCs version of the game:

there is a file named explanation with full insrtuction on how to run the game in this mode

πŸ’­ How To Play

For the first player

  • W to move UP
  • S to move DOWN
  • A to move LEFT
  • D to move RIGHT For the second player
  • Arrow UP to move UP
  • Arrow DOWN to move DOWN
  • Arrow LEFT to move LEFT
  • Arrow RIGHT to move RIGHT

⛏️ Built Using

About

πŸ‘» the famous Pacman game Improved and built with assembly πŸ’ͺ

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors