DEV Community

Tran Phong
Tran Phong

Posted on

1

The Offline Java game based on Bomberman - Apply Dijkstra's algorithm to make the monster chase the player.

Last year, my teammates and I completed the bomberman-inspired offline game for our OOP project at university.

In this project, we used several design patterns to make the code more scalable and readable. In addition, we also apply the dijsktra's algorihtm (one of the popular pathfinding algorithms) for the purpose of creating monsters that can chase the player and explode on collision.

You can see the demo at: https://www.youtube.com/watch?v=XN9JSJVNS00

You can get our source code at: https://github.com/hcmiu-project/bomberman. We are very happy if you give us 1 star :)

Top comments (0)

DevCycle image

Ship Faster, Stay Flexible.

DevCycle is the first feature flag platform with OpenFeature built-in to every open source SDK, designed to help developers ship faster while avoiding vendor-lock in.

Start shipping

👋 Kindness is contagious

Explore this insightful write-up, celebrated by our thriving DEV Community. Developers everywhere are invited to contribute and elevate our shared expertise.

A simple "thank you" can brighten someone’s day—leave your appreciation in the comments!

On DEV, knowledge-sharing fuels our progress and strengthens our community ties. Found this useful? A quick thank you to the author makes all the difference.

Okay