Coder Social home page Coder Social logo

rsyamil / pangman Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9.87 MB

Pangman is a game (a rather amateur one) that blends Hangman and Pacman together! The goal of the player is to guess a word by navigating Pacman to collect correct letters. The player also needs to avoid getting eaten by any ghost or choosing too many incorrect letters.

License: MIT License

Java 100.00%
pangman hangman pacman intelligent-agents game-development amateur-gamedev

pangman's Introduction

pangman

Pangman is a game that blends Hangman and Pacman together! The goal of the player is to guess a word by navigating Pacman to collect correct letters (i.e. belonging to the word). The player also needs to avoid getting eaten by any ghost or choosing too many incorrect letters.

Cover

The game is based on Java Swing\AWT as the GUI toolkit and player can choose the category of words and hardness level (which depends on how common the words are, speed of the ghosts etc).

Int1

Points are represented as pink circles that Pacman will eat as it traverses the maze. The mazes are different for each level and is pseudo-randomly generated. The letters that Pacman can choose are randomly placed in the maze and there are some bonus tokens that can be collected such as:

  • wild card - shows up when you have 80 points
  • time slow - shows up between 25th and 40th second of the game
  • extra life - gives you one health point

Int2

The ghosts will continously find the shortest path to Pacman.

Int3

One wrong letter selected (i.e. collected by Pacman) means that one (1) health point is lost and when 10 healh points are lost, the player loses the game.

Int4

The game was written (rather quickly) when I was an undergrad in Umich in 2012. I liked the overall concept of the game and had always wanted to spend a bit of time creating an improved "remastered" version but never had the time. Some of the improvements that can be made are:

  • overall graphics and gameplay, animations
  • obviously the code structure needs improvement
  • dictionary from where the words are selected, can be pulled from some active online sources
  • path-finding algorithms for the ghost (to chase after Pacman) can be determined by level of difficulty
  • multi-player option (either with another person or intelligent agent)
    • intelligent agent may use reinforcement learning or a-b-pruning and compete with the other player

pangman's People

Contributors

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