An open API service indexing awesome lists of open source software.

https://github.com/imran-riz/pacman

A JavaFX game to play Pacman
https://github.com/imran-riz/pacman

game pacman

Last synced: about 1 month ago
JSON representation

A JavaFX game to play Pacman

Awesome Lists containing this project

README

        

# Pacman

This is a project that I assigned myself and was able to finish in about two and a half weeks.
As the title suggests, it's a program to play pacman - it's got bonus food that when eaten allows pacman to eat the ghosts and all that stuff.

I used the JavaFX API and at the time I worked on this build, I didn't know how to work with images so I used a circle to represent pacman and triangles to represent the ghosts.
The user controls pacman using the arrow keys. I created walls using squares and checked for collision using the coordinates of the walls and pacman. Pretty simple.

![Pacman](https://user-images.githubusercontent.com/67403229/126091087-dd2e73ad-990e-4ba5-818d-ab32a4efbd82.gif)

## Copyright 2022 by [Imran R.](https://github.com/imran-2003/)

### Licensed under [Apache License 2.0](https://github.com/imran-2003/Pacman/blob/main/LICENSE)