GAME DEV ยท MAR 2026

Abuelo Rodrigo: Furious Bingo

Top-down survival shooter in C++ and Raylib. You play Abuelo Rodrigo, an 80-year-old man in a turbo-powered wheelchair who fights the medical staff of a care home to win his freedom through bingo.

  • C++
  • Raylib
  • Design Patterns
Abuelo Rodrigo: Furious Bingo screenshot

At a glance

ROLE
Solo developer
TEAM
Solo

What I built

  • 7 weapons with distinct firing styles: laser beam, bouncing dentures, arc pills with gravity, slowing blobs, an expanding shockwave and a 360 degree burst.
  • 5 enemy types, including a boss with 3 phases.
  • A bingo card as the win condition: killing enemies fills it.
  • Weapon confiscation at 75%, 50% and 25% health.
  • A stack of game states for the menu, playing, pause, level-up, confiscation and game over screens.
  • 8 design patterns: State, Object Pool, Strategy, Factory, Observer, Singleton, Command and Component.

Technical decision

State changes are applied at the end of the frame

The game runs on a stack of states. A state never switches itself in the middle of its own Update(): it asks for a Change, Push or Pop, and the manager stores the request and applies it after the update has finished. That avoids destroying a state while one of its methods is still running. Only the top state is updated and drawn, so pausing, the level-up cards and the weapon confiscation screen are simply a push and a pop.

StateManager.cpp
void StateManager::ChangeState(std::unique_ptr<GameState> state) {
    pendingOp_ = PendingOp::Change;
    pendingState_ = std::move(state); // transfer ownership
}

void StateManager::Update(float dt) {
    if (!stack_.empty()) {
        stack_.top()->Update(dt); // only update the top state
    }
    ApplyPending(); // apply any state changes at end of frame
}

void StateManager::ApplyPending() {
    if (pendingOp_ == PendingOp::None) return;

    switch (pendingOp_) {
    case PendingOp::Change:
        // Exit and destroy all existing states
        while (!stack_.empty()) {
            stack_.top()->Exit();
            stack_.pop();
        }
        if (pendingState_) {
            pendingState_->Enter();
            stack_.push(std::move(pendingState_));
        }
        break;

    case PendingOp::Push:
        if (pendingState_) {
            pendingState_->Enter();
            stack_.push(std::move(pendingState_));
        }
        break;

    case PendingOp::Pop:
        if (!stack_.empty()) {
            stack_.top()->Exit();
            stack_.pop();
        }
        break;

    default: break;
    }

    pendingOp_ = PendingOp::None;
    pendingState_ = nullptr;
}
Snippet of three methods, with the commented-out debug code left out. The full class is in the public repo.โ†— VIEW ON GITHUB