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 Cha...
➡️ Hashmap Implementation (Part 2/2) -: • Hashmap Implementation - Separate Cha...
➡️ 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 Algorith...
➡️ Learn MongoDB (Part 1/2) -: • Learn MongoDB (1/2) - Create Locally ...
➡️ Learn MongoDB (Part 2/2) -: • Learn MongoDB (2/2) - Create Locally ...
➡️ Creating a Simple Login UI with React -: • Creating a Login UI using React Forms!
➡️ Making TicTacToe with React -: • ReactJS Learner Project - TicTacToe w...
➡️ Learn useEffect -: • Learn useEffect in a Single Video. Re...
➡️ Learn useState -: • Learn useState in a Single Video. Rea...
➡️ React Reponsive Navbar Tutorial -: • Responsive Sidebar-Navbar Switching T...
➡️ React Navbar Dropdown Tutorial -: • ReactJS Tutorial - Navbar with a Drop...
➡️ React Sidebar Tutorial: https -: // • ReactJS Sidebar Tutorial - Beginner P...
➡️ React Filter Search: https -: // • ReactJS Filter Search Tutorial - Begi...
➡️ Making Piano Tiles: https -: // • How to make "Piano Tiles". Easy to le...
➡️ 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
Watch video Making Pacman with Ghost AI online without registration, duration hours minute second in high quality. This video was added by user TheNoobCoder 14 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,309 once and liked it 25 people.