A classic Pac-Man clone developed purely in C# (Vanilla) to run directly in the terminal. This project focuses on solid concepts of Object Orientation, Game Loops, Console Rendering, and Containerization.
- Language: C# (Vanilla / Pure)
- Platform: .NET 8.0 Console Application
- Architecture: OOP (Object Oriented Programming) with Game Loop Pattern
- Persistence: Save/Load system via native JSON
- Infrastructure: Docker & Docker Compose
Create a text file with the name "level{number}" and save it in the folder maps/.
Symbol meaning:
-
'H' = wall
-
'(space)' = point
-
'<' = pacman spawn point
-
'o' = ghost's spawn point
-
'*' = powerpeelet
This game has been containerized to ensure that you can play it without having to install the .NET SDK on your machine.
- Docker installed and running.
- Open the terminal in the project's root folder.
- Build the game image:
docker compose build
- Run the game:
docker compose run --rm pacman-game
If you have the .NET 8 SDK installed and prefer to run natively:
dotnet run
