Giter Site home page Giter Site logo

martingurasvili / terminal-pacman Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 10 KB

This is a simple Pacman game created in python that runs on the terminal

Python 100.00%
game terminal pacman pac-man pac-man-game pacman-game pacman-arcade-game python terminal-based terminal-game

terminal-pacman's Introduction

Terminal Pacman

cas


This is a simple Pacman game created in Python that runs on almost natively the terminal

Screenshot 2022-02-17 at 8 12 25 pm



How To play

  • You have 3 lives
  • Colliding with the wall or ghost will make you lose a life and respawn
  • Collect 70 points to Win
  • The game updates the position every second - so pacman will move in the facing direction
  • Pressing enter will make the scene update instantly
  • When wanting to turn, input [W/A/S/D] and then press enter



How To Install

The only thing required for this is for python to be installed, in the terminal write:

python "dragTheFileHear"

Note: This game can be run on defualt python using the other script provided, however this make the player and ghost not standout, making it harder to play.

I would advise to play it the way it was intended by installing a neat plugin called termcolor, you can do this with the code below

pip install termcolor

terminal-pacman's People

Contributors

martingurasvili avatar

Stargazers

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