GithubHelp home page GithubHelp logo

pacmangame's Introduction

Pac-Man in C

This is a simple recreation of the classic Pac-Man game in C. The game utilizes the terminal for display and incorporates features such as the pacman, ghosts, scoring, maze and special fruits.

Installation

1. Clone the repository:

git clone https://github.com/loregbrw/PacmanGame.git
cd PacmanGame

2. Execute "pacman.exe".

Game Controls

W: Move Pac-Man upward.
A: Move Pac-Man to the left.
S: Move Pac-Man downward.
D: Move Pac-Man to the right.
Enter: Initiate/Continue the game loop.

How to Play

Navigate the Pac-Man through the maze, eating dots and fruits while avoiding ghosts. Win the game by collecting as many points as possible.

Features

Gameplay: Control Pac-Man using the WASD keys to navigate through the maze.
Ghosts: Four ghosts find a random path to the Pac-Man through the maze.
Sound Effects: Sound effects for actions like eating special fruits, dying and more.
Score Tracking: Keep track of your score as you progress through the game.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Note

1. This project utilizes the "terminal.h" library by @akda007 to customize the terminal.
2. Pathfinding logic by @akda007.

pacmangame's People

Contributors

loregbrw avatar babislz avatar mariasina avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.