This is cool, but I think it's misleading to call it an operating system. It's Tetris that runs without an operating system, which is to say, on bare metal, old school. Writing programs that run on bare metal is a cool and worthwhile thing to do, but calling any such program an "operating system" is confusing. This probably sounds like I'm picking a nit, but I think it matters for the sake of newbies just starting to…
IDK. Plenty of "operating systems" are linked as a single binary with the application, in the embedded world and historically. This takes it a bit further but I doubt you think the dividing line is "OS and application are maintained as a separate project" which is about the only distinction. I do see where you're coming from, though. Personally I would've described it as "bootable Tetris".
Tetris-OS: An operating system that only plays Tetris
51–60 of 126 posts
Re: Tetris-OS: An operating system that only plays Tetris
#52(It seems for certain problems it is NP-complete!) https://liacs.leidenuniv.nl/~kosterswa/tetris/tot.pdf
Re: Tetris-OS: An operating system that only plays Tetris
#53Re: Tetris-OS: An operating system that only plays Tetris
#54– Casey Muratori in “The Thirty Million Line Problem” https://youtu.be/kZRE7HIO3vk?t=1205
Re: Tetris-OS: An operating system that only plays Tetris
#55Edit: having read the readme, it looks like performance is locked at 60fps.
Re: Tetris-OS: An operating system that only plays Tetris
#56Re: Tetris-OS: An operating system that only plays Tetris
#57> This has only been tested in an emulator. Real hardware might not like it. ?! So this is just a stand-alone binary with an awkward loader then. The real trick (and challenge) comes when you want to run your stuff on actual bare metal.
Re: Tetris-OS: An operating system that only plays Tetris
#58How do we delineate "OS that does one thing" from "bare metal program?"
I'm having enough difficulty separating "hypervisor" from "operating system".
Re: Tetris-OS: An operating system that only plays Tetris
#59If Tetris (with an infinite board) is Turing complete, then how about building an OS from Tetris? (It seems for certain problems it is NP-complete!) https://liacs.leidenuniv.nl/~kosterswa/tetris/tot.pdf
(I also read the paper: to clarify, they are referring to different problems you can build on top of Tetris, and prove some of them NP-complete and some Turing complete.
(They don't mention Turing completeness directly, but they do a reduction to Post's correspondence problem.))
Re: Tetris-OS: An operating system that only plays Tetris
#60“In the 1980s with things like the Amiga computer, for example, every game was a boot disk. It booted into its own customized version of an operating system that ran what it needed to run to make its game work well and be performant and reliable. … We know that in the past, hardware that was very capable and very interesting made it so easy to create an operating system that literally everybody did it. Not a few peop…