A .NET 8.0 console-based Pacman game implementation.
- Classic Pacman gameplay in the console
- Maze navigation with wall collision detection
- Dot collection with score tracking
- AI-controlled ghosts with simple movement patterns
- Keyboard controls (WASD or Arrow Keys)
- Win/lose conditions
- Console-based graphics with colors
-
Navigate to the PacmanGame directory:
cd PacmanGame -
Build and run the game:
dotnet run
- W or ↑: Move Up
- A or ←: Move Left
- S or ↓: Move Down
- D or →: Move Right
- Q: Quit Game
- Collect all the dots (yellow
.) to win - Avoid the ghosts (red
M) or you lose - Try to achieve the highest score possible!
C- Pacman (you)M- Ghosts (enemies).- Dots to collect (10 points each)#- Walls (blue)- Empty space
- .NET 8.0 SDK or later