Hacker News new | past | comments | ask | show | jobs | submit login
A K8s-based game where you seek out and destroy pods in a shootem' up style (github.com/shogan)
120 points by JordanTen on Jan 7, 2022 | hide | past | favorite | 16 comments



Ha, an agency i worked at years ago did very similar with some Azure container service.

We actually hosted the game in the pods, so if you took them all down simultaneously and refreshed you could get a brief 404 as they were spinning back up.


This just gave me a flashback to a game I played once long ago, where you flew a spaceship around an environment that took things like file names and icons from your computer to populate it. I think it might have been this?

https://en.wikipedia.org/wiki/Operation%3A_Inner_Space

Regardless, shooting a file did not actually delete it on your system ;)


See also `fsn`, the SGI Irix file-manager, famously featured in Jurassic Park

https://en.wikipedia.org/wiki/Fsn_(file_manager)


I remember this one! It also said something like “good morning” or “good afternoon”, depending on system time. Seemed super advanced at that time :)


There is an incredibly similar game called “Virus” as well where the maps are based kn your filesystem


Haha awesome! Thanks for sharing this. I’ve been toying around with unity and have thought up a chaos engineering game or two. I haven’t done anything yet but I certainly will want to. I’m reading through the code now :)

https://github.com/Shogan/kube-chaos/blob/master/Assets/Kube...

…and here is one of the interesting files. Looks like the game is running shell commands (line 93). I predicted a C# library being used or hitting the kube API directly. Neat! I love seeing how people do stuff.


> I predicted a C# library being used or hitting the kube API directly.

Apparently NuGet doesn't play nicely with Unity.

The README has this to say:

> The game is really just a POC, and I hacked it together pretty quickly. In an ideal world I would have got the C# kubernetes-client library working with Unity and used the kube API. NuGet and Unity don't play nicely together so for a quick hack solution I went with calling out to the kubectl process from in-game. These processes are launched in separate threads to keep the game smooth and pause-free. I don't do any fancy thread lifecycle management, so threads are aborted/killed randomly during the game. Performance still seems fine for the demo.


See also psDooM, a similar concept for Unix processes.

http://psdoom.sourceforge.net/


One of the absolute coolest things I've seen here.

However, I would absolutely love to be able to play it without running kubernetes. Geometry wars Was an awesome game


The good old days!


There's an OpenShift version themed as a Wild West gallery style shooter game as well.

https://www.youtube.com/watch?v=BFoeq16ojU4 https://github.com/openshift-evangelists/Wild-West-Spawner


Awesome, thanks for sharing!

Would love to see some battle progress, watch the SLAs crumble. Oh and a way to starve a node of CPU, but then it would become more like a strategy game I guess.

[edit: forgot to thank you in my enthusiasm]



So when would you actually want to use this software?

The only thing I can think of is for adding stakes to a stream / youtube video.


Chaos Engineering[1] is a real thing with real utility (e.g. famously at Netflix). This just adds some fun to that, from what I can tell.

[1] https://en.wikipedia.org/wiki/Chaos_engineering


This is so cool, I hope the author keeps up with it!




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: