News for hackers. Stuff that matters.

discoinverno

Nice! Are tanks spawned at the last picked location? I picked my hometown as I wanted to demolish a friend's house, and I was surprised to find 2 tanks there (it's a random small city in Europe).

I also have the bug where it keeps respawning me to the starting point after ~30 seconds

Re:Ask HN: What Are You Working On? (February 2026) on Monday February 09, 2026 @04:08AM (#46943231)
I keep working on my command line game 'Rebels in the sky' (https://rebels.frittura.org)

The game is about spacepirates playing basketball, it's kinda a basketball manager game. It's played in your terminal and works with no internet.

You can try it via ssh at `ssh frittura.org -p 3788`

Re:Ask HN: What Are You Working On? (February 2026) on Monday February 09, 2026 @03:26AM (#46942945)
I love working on the terminal and this looks great, but can I ask why do you require to sign in? To be that's a bit of a downer :(
Re:Ask HN: What Are You Working On? (December 2025) on Monday December 15, 2025 @02:54AM (#46271569)
I am working for a while on a command line game about spacepirates playing basketball across the galaxy. The game is a basketball managerial game with some pirate-y stuff. It's a P2P game with no central server, built on top of libp2p.

It runs as a terminal application, meaning that you just need to run it from your terminal, but you can try the game over ssh without installing: `ssh frittura.org -p 3788`

downloads: https://rebels.frittura.org/ repo: https://github.com/ricott1/rebels-in-the-sky

Re:When 1+1+1 Equals 1 on Tuesday November 18, 2025 @05:41PM (#45973252)
The piece is about something else, cases when 1 + 1 + 1 ≡ 1 but 1 + 1 != 0
Re:Rust's TUI Revolution on Thursday November 06, 2025 @11:17AM (#45836811)
Ja, I know, it's a coin flip, sometimes it works :( I added a youtube link just below it, it's the demo
Re:Rust's TUI Revolution on Thursday November 06, 2025 @01:49AM (#45832231)
Shameless plug of my TUI game, also built with Ratatui

https://github.com/ricott1/rebels-in-the-sky

Re:The last European train that travels by sea on Tuesday October 28, 2025 @08:03AM (#45731699)
My family is from Sicily, and I remember taking this train every year when I was a kid. After several years, I took it again last summer and was bufflled at how inefficient the whole ordeal was... Basically you have to wait for the train wagons to be detached and reassembled on the other side, you easily waste a couple hours.

Now, I don't really mind this, it's a bit of a tradition if you want, but I asked a relative of mine who used to work for the Italian national train company, and he told me that this train works like this cause in the past all the Sicilian migrants would travel with a lot of luggage, and it would be very impractical for them to transfer all of that twice. Nowadays this is not really the case anymore.

Re:Quadratic memory reductions for Zero-knowledge Proofs on Wednesday September 24, 2025 @03:57AM (#45357540)
The physics paper has been published on a predatory 'open-access' journal, where basically you can pay to publish whatever (ref: https://blog.cabells.com/2021/07/07/no-signs-of-slowing/, look for scirp).

I gave a diagonal reading, it uses the right jargon somehow. They add some new components to the Einstein-Hilbert action they say originate from quantum complexity contributions, to be honest seems completely random, but i'm not an expert. Especially the conclusions look like they have been written with AI.

The 10 citations are almost all self-citing: https://scholar.google.com/scholar?cites=2388097775195172652...

Re:Dead Stars Don't Radiate on Sunday May 18, 2025 @09:20AM (#44021235)
I agree with that comment. Experts can be wrong, of course, but the null hypothesis is that their opinion is 'more correct' than that of a science journalist.

As an aside, nobody really believed the earth was flat: https://en.wikipedia.org/wiki/Myth_of_the_flat_Earth.

Re:DOOM CAPTCHA on Wednesday January 01, 2025 @10:40AM (#42566655)
I couldn't win without cheating ^:) It's crazy how ingrained in my memory is the code tho, could remember it automatically after maybe 25 years
True, I can see your public key, username, and IP I guess. I only log the username and hash of the public key/password that I use for storing save files (the logs are for debugging, but I swear I don't sell them to google). You can see what I do in the source, of course you have to trust me on that :)
I used the pixel planet generator to generate low resolution gifs, which I then combine together to get the galaxy gifs
Thanks a lot, really appreciate it. Have you tried this link: https://streamable.com/huxiwr ?

I know VHS, only problem is that that demo is a bit involved to properly script it..

Love FTL, would be sick to port it to terminal graphics
You mean the song in the trailer? It's the japanese OST for Kenshiro: https://en.wikipedia.org/wiki/Kenshiro

The story is quite simple, I just loved the anime when I was a kid :)

The italian version is also incredible: https://www.youtube.com/watch?v=YPIcdhjPG5I

Ahh nice to know! Never managed to test it
My server can't handle all the traffic, guess it's an opportunity to show that the game doesn't need a central authority to keep working.

I created another relayer and ssh node on 85.214.130.204, you can either ssh to this machine `ssh 85.214.130.204 -p 3788` (but the relaying won't work as it tries to connect to the old server), or start your local client with the flag `rebels -i 85.214.130.204` to specify the alternative relayer node ip address.

My server got hug'd to dead, probably the ssh server won't work now either :(

Hopefully this one works: https://streamable.com/huxiwr

Thanks! I agree, I really need to write a wiki or something. The problem is that this game started as a basketball managerial game and then got completely derailed as I kept implementing whatever I thought was cool at the moment.

I think there are mainly 3 themes to play for:

- Basketball: assemble the best possible team. Basically try to acquire as much money as possible to hire the best free agents;

- Money: just try to get as rich as possible, using the market and in the future your asteroids;

- Space adventure: get the best possible spaceship (more options will be available in future releases) and have fun in the spaceshooter game you can access from your team pane (button 'Space adventure').

I tried to combine and summarize these 3 themes by having a reputation score assigned to your team, which can increase based on all 3 conditions. In the Swarm pane there is a Top Ranking window where the best crews are listed.

Proudly built with Ratatui: https://github.com/ratatui/ratatui :)

The graphics themselves are basically handmade pixel-by-pixel, you can take a look in the assets folders to get an idea.

For example, pirate images are generated by combining the different parts and then applying a color mapping for the different skin tones.

Planet gifs are adapted starting from https://deep-fold.itch.io/pixel-planet-generator

Weird, can you see it on the github page tho?
In case the trailer link doesn't work, here's another: https://rebels.frittura.org/demo_v1.0.18.mp4
At the beginning of the match, a match ID is created. Randomness is then seeded from this ID and every random event is determined consistently. If you want, a game could be completely simulated just based on the initial ID.
Thanks:)

Basically users can interact by playing basketball games against each other or by trading players. This sort of interactions are handled with something similar to a TCP handshake, since we must ensure that we end up with a consistent state at the end (e.g. players are traded consistently).

Because of this, it is not easy to have 'real-time' interactions: for example, when challenging each other, players only agree on the initial conditions of the game, which then is simulated independently (and deterministically) on both clients.

Show HN: Rebels in the sky – Terminal game about space pirates

https://github.com/ricott1/rebels-in-the-sky

Rebels in the sky is a P2P multiplayer game about crews of space pirates roaming the galaxy to play basketball against each other. It's basically a basketball managerial game with some pirate-y stuff. It's a P2P game with no central server, built on top of libp2p. Players interaction are limited to playing games against each other and trading pirates.The game runs as a terminal application,...

( Read More... | 64 comments | 3 points | on HN )
Re:Ask HN: Website with 6^16 subpages and 80k+ daily bots on Thursday October 24, 2024 @04:30AM (#41933374)
Unrelated, but if I try to send you a message on https://cookie.engineer/contact.html it says "Could not send message, check ad-blocking extension", but I'm pretty sure I turned them off and it still doesn't work

Also, the best starter is charmender

Can you elaborate on this?

Show HN: Rebels in the sky – a terminal game about anarchist space pirates

https://rebels.frittura.org/

Rebels in the sky is a multiplayer game about crews of space pirates roaming the galaxy to play basketball against each other. It's basically a basketball managerial game with some pirate-y stuff.The game runs as a terminal application, meaning that you just need to run the executable from your terminal. Key bindings are indicated in game, mouse is supported.It's a P2P game with no central...

( Read More... | no comments | on HN )

Older »