Kernel Panic by aligator

[raw]
made by aligator for Ludum Dare 50 (UNFINISH)

Bildschirmfoto<em>2022-04-03</em>22-15-51.png

NOTE: the virus spwaning and winning logic is buggy... It is not fully finished.

Goal:

You are the administrator of this server.
Some hackers plant viruses.
You have to stop them to avoid a kernel panic!

Run it

This is implemented as an ssh-server which serves the app (and only the app).

You may use the webssh: https://kernel.aligator.dev/ssh/host/aligator.dev username & password: 'admin'

or

ssh -p 2223 aligator.dev username & password: 'admin'

Or using any other ssh client.

(Note any ssh key and any user/password will work - there is no check)

Locally

go run ./cmd/local
will start a local version (installed Go is required)

Scrolling:

In some terminals the scroll wheel just works.
In others, just use the "PageUp" and "PageDown" or "ctrl+u" and "ctrl+d"

Quit game:

"ctrl+c" or type "exit"

Available commands:

• ls {Path} (list directory)
• mkdir {Path} (create folder)
• cd {Path} (change directory)
• rm {Path} (delete file)
• ps (list processes)
• kill {PID} (kill process)

Ratings

Given 10🗳️ 8🗨️

Feedback

OldDog
06. Apr 2022 · 00:11 UTC
a littlr hard for me ,,,,ps : how did you make this game
LDJam user 234567
06. Apr 2022 · 19:16 UTC
An ssh game ! I never thought I would find this :thumbsup:
🎤 aligator
06. Apr 2022 · 20:31 UTC
@olddog @fifut
thanks for trying :-)

it is done using a Golang lib which just serves a cli through ssh to the client: https://github.com/charmbracelet/wish

Together with a cli-ui building lib (from the same developers): https://github.com/charmbracelet/bubbletea
Cosmicallity
07. Apr 2022 · 05:26 UTC
Now this is an interesting way to make a game! Really cool to see people make different kinds of neat stuff, also it was pretty fun!
🎤 aligator
08. Apr 2022 · 21:22 UTC
@cosmicallity thanks :-)
yanc0
12. Apr 2022 · 07:30 UTC
Hi ! Great idea ! I love SSH games. The scoreboard at the end is really interesting and I learned a lot reading your code. Thanks for sharing :tea: !
🎤 aligator
12. Apr 2022 · 22:30 UTC
@yanc0 Thanks for playing and reading the code :-)