Zachary W. Huang

Home Projects Blog Guides Resume

What if you could play Duck Hunt in the terminal?

Introducing: Box Hunt!

The code can be found here

I used NCurses and unicode symbols to draw the screen and handle keyboard/mouse inputs, and I used SDL for audio (with sound effects drawn from some sample packs).

As can be seen in the gif, you get three shots (“rounds”) each time the boxes pop up, and you need to hit a target goal each round to not lose. Your score increases based on whether you hit your targets (and how fast you hit them).

Also, there are multiple game modes: Standard, Shotgun, Sniper, and Impossible. Shotgun makes the boxes smaller, Sniper makes the bullet smaller, and Impossible makes both the bullets and boxes smaller.

RSS icon github logo linkedin logo

Zachary W. Huang © 2021-2024