Show HN: Termcraft – terminal-first 2D sandbox survival in Rust
97 points
8 hours ago
| 5 comments
| github.com
| HN
I’ve been building termcraft, a terminal-first 2D sandbox survival game in Rust.

The idea is to take the classic early survival progression and adapt it to a side-on terminal format instead of a tile or pixel-art engine.

Current build includes: - procedural Overworld, Nether, and End generation - mining, placement, crafting, furnaces, brewing, and boats - hostile and passive mobs - villages, dungeons, strongholds, Nether fortresses, and dragon progression

This is still early alpha, but it’s already playable.

Project: https://github.com/pagel-s/termcraft

Docs: https://pagel-s.github.io/termcraft/

Demo: https://youtu.be/kR986Xqzj7E

torginus
5 hours ago
[-]
If somebody writes something in Rust but doesn't announce the fact, what happens? This is an open question as so far we have no examples of that happening.
reply
xylophile
47 minutes ago
[-]
If somebody announces that their project is written in Rust but nobody complains, what happens?

Writing any non-trivial video game with Rust is (arguably) interesting in itself since developer velocity in gamedev is generally considered paramount, and Rust has a reputation (rightly or wrongly) for hindering velocity.

So yes, the fact that this is written in Rust is actually relevant and valuable. As opposed to your hollow snark.

Now, OP: tell us more about how that's played out for you.

reply
zeroq
16 minutes ago
[-]
One does not simply write an app in Rust in silence.

It is customary to announce the fact so that the astrologers can proclaim that the population of recruiters on linkedin has increased.

reply
vunderba
4 hours ago
[-]
Rust is the crossfit of programming languages. Everybody around you needs to know at all times.

On a serious note, nice job OP. This game kind of feels like an ASCII version of Terraria. Might I recommend extended ASCII or unicode for the player though? Right now they look a bit like a lollipop.

reply
sudo_cowsay
16 minutes ago
[-]
Kind of hard to see the player's motion
reply
cjkaminski
3 hours ago
[-]
Based on the evidence presented by the Hacker News front page, the hype is boundless. Rust is the ur-language that we never realized until... idk, three years ago?
reply
zeroq
13 minutes ago
[-]
It's a PR ploy. It sounds better than X done in C, mainly because the X has been done countless times in C by now, while "Hello World, but in Rust" still felt sexy three years ago.
reply
westmeal
4 hours ago
[-]
You really don't want to know. The results could be disastrous.
reply
sebosch
4 hours ago
[-]
haha, guilty
reply
Gigachad
2 hours ago
[-]
Seems like it would be possible to create a cool demo where you can play the game over ssh rather than having to compile locally.
reply
p0w3n3d
4 hours ago
[-]
Wow finding the nether fortress will sure take time in 2d world and will render it unskippable
reply
sudo_cowsay
18 minutes ago
[-]
That is kinda true, I wonder how the end will be like... 2D dragon!
reply
apitman
6 hours ago
[-]
Nice. Is this terminal-first or terminal-only?
reply
sebosch
4 hours ago
[-]
good point, it is terminal only
reply
kehao95
5 hours ago
[-]
This is art!
reply