---
# System prepended metadata

title: Final Project -- Pacman

---

# Final Project -- Pacman


# User(Pacman)

***Parameter***
* Position (x,y)
* Direction (up,down,left,right)

***Method***
* ReceiveInput( )
* CheckCollision( )
* Move( )
* Draw( )

-----------------

# Ghost(AI)

***Parameter***
* Position(x,y)
* Direction(up,down,left,right)
* randomSeed

***Method***
* Random( )
* Move( )
* Draw( )
* CheckCollision( )


# Terrain

***Parameter***
* Array Position[] --> **storing wall position**

***Method***
* Draw( )


# Point
***Parameter***
* Position(x , y)
* Existence( ->bool )

***Method***
* Draw( )

# Game
***Parameter***
* Array[point]
* Terrain
* Pacman
* Ghost

***Method*** 
* Run( )


# USEFUL RESOURCES
![](https://i.imgur.com/THExkSt.png)

---------
![](https://i.imgur.com/VXglbES.png)

---------
![](https://i.imgur.com/uhjmU4s.png)

---------
![](https://i.imgur.com/gjTfsi0.png)

---------
![](https://i.imgur.com/IWRUxaP.png)

---------

> [color=#c4444b] moving function :D
![](https://i.imgur.com/qqoEaWG.png)

---------

