Skip to content

sunsided/gorillas.rs

Repository files navigation

GORILLAS.RS

Because someone had to do it: QBasic Gorillas, the 1991 IBM classic where two gorillas fling exploding bananas across a city skyline, reimplemented in Rust, on wgpu, with synthesized audio.

Screenshot

The original and very vintage GORILLAS.BAS is bundled in this repo.

How it works

Two players take turns entering throw angle and velocity. Wind, gravity, and the city skyline stand between your banana and the other gorilla's face. First to score the agreed-upon number of hits wins. It's 200 lines of 1991 BASIC logic running on a GPU render loop and a waveform synthesizer.

Tech Stack

  • Rust, because we want safe exploding bananas
  • wgpu for GPU rendering
  • winit for windowing
  • cpal + synthie for audio

Running

cargo run

About

GORILLAS.BAS ... in Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors