Git Product home page Git Product logo

pacman-console's Introduction

pacman-console

A PacMan console game made in C++.

This project is abandoned and is not complete.

Compatibility

This project is only compatible with the Windows OS and can only be ran in consoles that support ANSI escape codes.

Up to now, this project has only been compiled with C++11 in Visual Studio. If you have any compilation errors, try compiling in Visual Studio first.

Screenshots

image image

Controls

Use W, A, S, and D to move. Collect all the pellets to win.

Compiling

You can compile this program using the following command: g++ ./pacMan.cpp ./levelUtils.cpp ./gameObject.cpp

Planned features

  • Configuration files for refresh rate and ghost movement speed
  • Power pellets (puts ghosts in a blue, frightened mode)
  • PacMan faces the direction he is moving
  • Using conio.h for input instead of windows.h so the player does not need to hold the movement key down until there is a new frame.

Known issues

Ghost movement may stutter because they only update 2 out of 3 frames. This is to make the game easier. In the future, there will be a configuration file to allow the user to modify ghost speed.

  • Sometimes PacMan can teleport through a ghost if Pacman and the ghost are moving head on.

pacman-console's People

Contributors

alexanderjcs 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.