GithubHelp home page GithubHelp logo

sevenlightnapper / pacman Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 3.56 MB

PacMan game written in Java

License: GNU General Public License v3.0

Java 100.00%
pacman 2d-game animation java javaswing swing-gui

pacman's Introduction

PacMan

A game coded fully in Java. Using Swing.

Technicalities

  • Version of Java used in the project — Java 8 (1.8)
  • To know more about Swing follow this link

Rules of the game

The game is very simple. You play as the character "PacMan". In order to win you have to eat all the "food" on the game board. While you're eating the food, there might be some dangers. And those dangers are called "ghosts". Ghosts fly around the board and if they catch you, they eat you. Simple as that. So, don't get caught by ghosts and eat all the food. Then you're definitely going to win.

How to use

  • The program is launched with the main() method in class Main
  • Once you've launched, you'll see the startup window. There you may choose to play on the default board or to customise it.
    • If you click on START GAME, you'll launch the default game board.
    • If you click on CUSTOMIZE GAME, you'll launch MapEditor. There you may customize the board however you want using tips from sidebar. Once you're satisfied with the map, click on START GAME and your custom game board will be launched.
  • Available keys while in-game:
    • to move up
    • to move down
    • to move left
    • to move right
    • to restart the game R

Additional Information

Author of the project Seven Lightnapper

Source code location PacMan

License of the project GNU GPL v3

pacman's People

Contributors

sevenlightnapper avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

kuocca

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.