Completed my Pacman game! Here is a short detail of functionalities in the game.
GitHub Repo: https://github.com/mtajammulzia/Pacma...
1) Ghosts chase Pacman with AI. It is implemented using A* search algorithm.
2) One ghosts look in the future and predicts a future position Pacman will be at and chases that position, Second ghost tries to sneak from behind to surround Pacman with other ghosts, Third one has no tricks up its sleeve, it just tries to reach Pacman at its current position.
3) When you eat a big food, ghosts get scared and can't kill you until they have recovered. Scared ghosts appear blue!
4) You can; turn on and off AI by pressing A, visually see what positions ghosts are chasing atm by showing paths (pressing S), see extra debug information by pressing D, if ghosts kill you press SPACE to restart.
Let me know what you think, there is room for plenty of improvements and new functionalities to be added but I have spent enough time on this one. You can take my source code and make something of your own.
==========================================================
More on Codamy:
➡️ Hashmap Implementation (Part 1/2) -: • Hashmap Implementation - Separate Chaining...
➡️ Hashmap Implementation (Part 2/2) -: • Hashmap Implementation - Separate Chaining...
➡️ Path search in maze using Processing (Part 2/2) -: • Path Finding Using A* Search Algorithm
➡️ Maze Generator using Processing (Part 1/2) -: • Maze Generator and A* Search Algorithm usi...
➡️ Learn MongoDB (Part 1/2) -: • Learn MongoDB (1/2) - Create Locally Hoste...
➡️ Learn MongoDB (Part 2/2) -: • Learn MongoDB (2/2) - Create Locally Hoste...
➡️ Creating a Simple Login UI with React -: • Creating a Login UI using React Forms!
➡️ Making TicTacToe with React -: • ReactJS Learner Project - TicTacToe with R...
➡️ Learn useEffect -: • Learn useEffect in a Single Video. React H...
➡️ Learn useState -: • Learn useState in a Single Video. React Ho...
➡️ React Reponsive Navbar Tutorial -: • Responsive Sidebar-Navbar Switching Tutori...
➡️ React Navbar Dropdown Tutorial -: • ReactJS Tutorial - Navbar with a Dropdown ...
➡️ React Sidebar Tutorial: https -: // • ReactJS Sidebar Tutorial - Beginner Projec...
➡️ React Filter Search: https -: // • ReactJS Filter Search Tutorial - Beginner ...
➡️ Making Piano Tiles: https -: // • How to make "Piano Tiles". Easy to learn b...
➡️ Making Bot to Play Piano Tiles -: • Playing Piano Tiles with a Bot!
==========================================================
Find me on:
➡️ Github -: https://github.com/mtajammulzia
➡️ LinkedIn -: / mtajammulzia
➡️ Instagram -: / codamy2021
➡️ Dev Portfolio -: https://tajammul.netlify.app/
==========================================================
#codamy #codamy2021 #pacman #pacmanghosts #AI #pacmanGhostAI #Astar #A* #Astartsearchalgorithm #mergesort #sortingalgorithm #mergesortjava #datastructures #hashmap #separatechaining #hashfunction #hashmapimplementation #Maze #AStart #A* #Search #SearchAlgoirthm #MazeGenerator #Node #NodeJS #MongoDB #Mongo #MongoClient #react #reactjs #reacthooks #hooks #props #usestate #usestatehook #useEffect #useEffecthook #reactforms #forms #controlledinputs #login #loginui #UI #javascript #Java #NodeJS #CSS #JSX #datahandliing #projects #project #beginnerproject #beginnerreact #learnerstutorial #coding #programming #codamy #tajammul #tutorials #learning