DEV Community

Cover image for Aliens PacMan
Txordy
Txordy

Posted on

4 3 2 3 2

Aliens PacMan

This is a submission for the Web Game Challenge, Build a Game: Alien Edition

What I Built

I created a classic PacMan game but with an alien flavor. The player must collect all the points in the map before any alien catches the player.

Demo

You can try the demo in Aliens PacMan Github Pages
and see the source code in the public repository

Journey

Since I wanted to deliver something because in previous challenges I ended up running out of time, this time I opted for something quicker and simpler.

I started by looking at some youtube videos to get inspiration on how to build a PacMan using just html/css/js, and after a couple of different tutorials (mainly https://www.youtube.com/watch?v=YBtzzVwrTeE), I created my own version.

The part of the game that was more challenging, was when thinking of different algorithms for the aliens to move across the map.
I think that if I wanted to release this game, it would still need a twist, since there are some situations where they act anything but smart. But for this challenge, I think it's enough as it is.

Feel free to comment any improvement or suggestion you have!
You can either write me a comment or contact me on twitter on @Txordy

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (2)

Collapse
 
grenishrai profile image
Grenish rai

It's really good but I guess the controls and framerate were not optimized well enough.

Collapse
 
codevsom profile image
Somnath Pan

It really looks like the original pacman!
Good job 👌🏼

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay