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.
- Move Pac-Man around a maze
- Collect coins while avoiding walls and ghosts
- Simple text-based graphics
- Install Visual Studio
- Create an Empty C++ Project
- Convert the Solution Platform to x86
- Delete the Header, Resource, and Source Files in the Project
- Go to Build Dependencies of the Project and Select .masm, then Check It
- Create a .asm File
- Add Code to It
- This project uses the Irvine32 library. Download it here and unzip it in the
C:drive. Copy the path of theirvinefolder. - Go to the Linker General Settings and add the path of the
irvinefolder (e.g.,C:\irvine) in the additional dependencies. - In the Linker's Input settings, add
irvine32.libto 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
irvinefolder to the include paths.
- 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.
- Build the project in Visual Studio.
- Run the executable.
- Contributions are appreciated! If you encounter any issues or have suggestions, please open an issue on GitHub.