Skip to content

Pac-Man in assembly is a text-based game where the player navigates Pac-Man through a maze, eating pellets and avoiding ghosts. The game focuses on logic for movement, collision detection, and score tracking, without graphical elements.

Notifications You must be signed in to change notification settings

CodeCryptX/Pacman_in_assembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Pac-Man Game (Text-based) ๐Ÿ•น๏ธ

Welcome to a simple text-based version of Pac-Man! Please note that this version is a work in progress, with some features missing or incomplete.

Features ๐ŸŽฎ

  • Move Pac-Man around a maze
  • Collect coins while avoiding walls and ghosts
  • Simple text-based graphics

Usage โ„น๏ธ

  1. Install Visual Studio
  2. Create an Empty C++ Project
  3. Convert the Solution Platform to x86
  4. Delete the Header, Resource, and Source Files in the Project
  5. Go to Build Dependencies of the Project and Select .masm, then Check It
  6. Create a .asm File
  7. Add Code to It

Dependencies ๐Ÿ› ๏ธ

  • This project uses the Irvine32 library. Download it here and unzip it in the C: drive. Copy the path of the irvine folder.
  • Go to the Linker General Settings and add the path of the irvine folder (e.g., C:\irvine) in the additional dependencies.
  • In the Linker's Input settings, add irvine32.lib to the additional dependencies.
  • Go to the Properties of the .asm file in the project and select "Microsoft Macro Assembler" as the item type in the general settings.
  • In the Microsoft Assembler settings, add the path of the irvine folder to the include paths.

Sound and Debugging ๐Ÿ› ๏ธ

  • Sound: Sound functionality is implemented yet but files be added in future updates that's why it can create warning sound but game works fine.
  • Debugging: Some debugging is remaining, and contributions are appreciated.

How to Run ๐Ÿš€

  • Build the project in Visual Studio.
  • Run the executable.

Contributions and Issues ๐Ÿ™Œ

  • Contributions are appreciated! If you encounter any issues or have suggestions, please open an issue on GitHub.

Video

Watch Gameplay Video

About

Pac-Man in assembly is a text-based game where the player navigates Pac-Man through a maze, eating pellets and avoiding ghosts. The game focuses on logic for movement, collision detection, and score tracking, without graphical elements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published