ASMR Programming - Coding Pacman - No Talking

preview_player
Показать описание
Hello my dear coders,

Coding pacman was difficult than I thought. I've used Dijkstra algorithm for the ghosts. I am open to any ideas to develop the game. You can fork and develop the game as you wish. We need to work on ghosts more. Because they sometimes go to a corner and wait there. Maybe we could decrease the interval time of changing random targets for the ghosts.

I will be waiting for your pull requests on Github.

Hope you like it!

👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻
Live a star on github, if you enjoy!
👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻👨‍💻

📦📦📦📦📦📦📦📦📦📦📦📦📦📦📦
⌨️ Keyboard: YUNZII KEYNOVO IF98 Gateron Red Switches
📦📦📦📦📦📦📦📦📦📦📦📦📦📦📦

00:00 Keyboard Check
00:18 Creating files
02:12 Running HTML file
04:16 Creating map[]
13:20 drawWalls()
19:14 drawWalls() is done
22:03 directions constants
27:59 createNewPacman()
32:00 Solving animation bug
32:23 Creating event listener for keyboard
33:00 Getting keyCodes of wasd and arrow keys
36:42 Pacman can move now
37:53 drawFoods()
41:15 Pacman can eat now
42:15 Fix on map
42:55 drawScore()
46:36 createGhosts()
50:16 drawGhosts()
01:04:39 Solving a bug on path finder function
01:07:32 restartGame()
01:08:06 gameOver()
01:08:27 drawLives()
01:11:00 drawGameOver()
01:14:03 drawWin()
01:15:55 Completed
01:16:49 Drawing range of ghosts
01:19:25 Incredible fail :(
01:21:13 Winner winner, chichken dinner
Рекомендации по теме
Комментарии
Автор

Coding all day then listening to someone code to relax. What am I doing with my life

thedeveIoper
Автор

Crazy how such a simple game can be so much complex. Thanks!

ze_kangz
Автор

One thing I love about programming is you learn every single day. I feel like how you created the map using nested arrays where the 1 represents a wall was mind opening. It is clever and glad I found something new today!

kazukiaj
Автор

I listen to my husband programming all day and here I am, it's never enough 😂

MishGonzalez
Автор

I remember being in bed at night and hearing my dad type on the computer that we used to own, it was always nice to listen to

taskmanager_
Автор

This is absolutely beautiful and outstanding. Just makes me wonder how humanity came up with programming.

theonewiththegoldentouch
Автор

This is an exciting project. I once implemented a Pacman as an interview project on mobile, and then re-implemented it in 3D. Also used similar level mapping technique for that. Amazing to see the live coding

codingandthings
Автор

Love the calm and focus in this ASMR coding video! Watching projects like coding Pacman reminds me of my child’s experience with Moonpreneur, where they started building their own simple games step-by-step. It’s amazing how Moonpreneur uses fun projects to teach programming concepts to kids, keeping them engaged and excited about learning! Definitely a great platform if you’re looking to introduce young learners to coding in a structured and enjoyable way.

saurabhBmp
Автор

The perfect combination of coding and relaxation! Who knew Pacman could be so soothing? 🎮👌

commentshark
Автор

Always love your videos and your keyboards are always top notch! Your videos inspired me to learn CSS and HTML! It has been 2 months since I started learning and I even started posting some web dev content! Latest one was making Google search page clone. I even added the responsiveness to it. 🙂Thank you Servet for inspiring me to learn! All the love ❤

studyingasyouwere
Автор

Currently at the 15:00 mark in this video, and I'm already eager to fiddle with the map code you've built for other projects. This will be fun both to watch and to use as a reference tool.

Thank you for posting!

taokodr
Автор

Thank you for your videos. Because of you start learning html and css. I watch you maybe for half of year and i really love your content about clone of different pages, and i clone your code and it helped me to start learning web development.

blackreaper
Автор

If thats how much it took to program a simple game like pacman into java script, imagine having to do this all on asm like how they did in the 80s.

bravo as always.

RobotPilots
Автор

One of the best videos i've EVER seen in my entire life <3

Akeel
Автор

I love programming! Thanks to these videos, I increasingly want to return to what I was so passionate about, which was programming.

ScreadForTheWin
Автор

Heavy vim user here.. I noticed you started using t motion to execute commands inside HTML tags.. big up for that in comparison to your last videos..
About vim commands, you should probably try v-block mode to edit multiple blocks of code (that would have been much faster in the map section to swap 1s and 2s)

Keep going, love your content!

fraso
Автор

It's crazy how we have come so far. Programming is one of the most important things today.

alvarholma
Автор

I used to make front end designs for websites in college, which actually got me hooked on the idea of coding. I really need to make to learn Java...

timothyt.
Автор

Besides your coding skills, the sound of your typing is quite enjoyable to me. Damn Good!!!

Lsr-bthb
Автор

I don't study programming but it's so relaxing to watch this, although I didn't understand most of that

Camilo-ccgp