Inspiration

We were inspired by classic arcade games that are easy to pick up but challenging to master. We wanted to create a simple yet entertaining game that tests players' reflexes, timing, and concentration. This inspired us to develop Dodge Block, where the objective is to avoid incoming obstacles and survive for as long as possible.

How We Built It

We built Dodge Block using C++ and Raylib, a library that makes it easier to create graphics, handle player input, and develop interactive games. The project was written in approximately 95 lines of code. We focused on the core game mechanics, including player movement, obstacle generation, collision detection, and the gameplay loop.

Challenges We Faced

One of the main challenges was getting the game mechanics to work together correctly. We had to ensure that player movement felt responsive, obstacles behaved as expected, and collisions were detected properly. Debugging and testing helped us identify and fix issues throughout development.

What We Learned

Through this project, we gained practical experience using Raylib with C++, working with game loops, handling user input, managing objects, and implementing collision detection. We also learned that even a relatively small amount of code can create an enjoyable interactive experience.

What's Next

In the future, we would like to expand Dodge Block by introducing different obstacle patterns, difficulty levels, a scoring system, and additional gameplay features.

Built With

  • 2dgaming
  • arcade
  • c++
  • game
  • gaming
  • raylib
Share this project:

Updates

Submission history