I like to create a few MineOS Computers at spawn with different games. Something people can have fun, be silly kind of like a mini arcade.
It would be neat/cool to somehow full screen/lockout of the rest of the os/programs and only allow a person to play with the application that is running.
Is this something possible? Would you be interested in adding such support?
Thanks
This is indeed possible, but probably will require patching source code of the game you want to run. Basically, there are several situations:
1. Some of games present in mineos store are already made to run in full screen mode. If the game does not require any keyboard interraction, then you can just remove keyboard from the screen so user will not be able to leave the game with keyboard shortcuts.
2. If game runs in full screen mode and uses keyboard, then you can either modify its source code to remove ability to close it or launch the game in an infinite loop. You have to also consider the `ctrl+alt+c` which terminates active process, which can also be solved with an infinite loop, or you can set `event.interruptingEnabled` value to `false`.
3. If game is made as windowed application, there is pretty much nothing you can do about it without modifying its code, for example remove window action buttons and ctrl+w handling. This however will require a bit of coding and understanding on how MineOS GUI works.
Anyway, there is no universal method to restrict user to specific application. Your best option is probably to find a full screen game and put in an infinite loop, should be easy enough.