#terminal-game #whale #delicious #boats #krill #fishing #pesky

app whalesim

A a terminal game written in Rust where you are a whale and you have to avoid pesky fishing boats whilst snacking on delicious krill

2 releases

0.1.1 Sep 18, 2022
0.1.0 Aug 31, 2022

#30 in #terminal-game

32 downloads per month

AGPL-3.0-or-later

19KB
324 lines

πŸ‹ Whale Simulator πŸ‹

Whale Simulator is a terminal game written in Rust where you are a whale and you have to avoid pesky fishing boats whilst snacking on delicious krill.

Why?

concept: a whale simulator where you’re just trying to keep fed while avoiding the boats with harpoons

score counter is your krill/death ratio

β€” Luna πŸ’™ (@lunasorcery) January 11, 2022

Warnings

  • Whale Simulator was written for Rust 1.57.0. It may not build under older versions of Rust.
  • Whale Simulator has only been tested in Gnome Terminal. It might lag or not work at all on other terminals. Try passing lower values in --tick-rate if it lags.
  • Whale Simulator lacks a unified entity management system so its logic is a bit spaghetti.
  • Whale Simulator does not handle window resize events. Don't resize your terminal or it will break.
  • Whale Simulator uses .unwrap() everywhere when writing to stdout which is horrible but it is unlikely to fail.

Contributing

Please don't. This isn't a serious project. It was written in one night as a joke. I don't want to actually maintain this.

Credits

Thanks to Luna (@lunasorcery) for the idea.

Dependencies

~3.5MB
~67K SLoC