PongOS icon indicating copy to clipboard operation
PongOS copied to clipboard

Pong, the operating system version

PongOS v1.0

PongOS, the operating system that satisfies all your multiplayer pong gaming needs (and does nothing else).

pong-os-v1 0 Actual in-game footage

What is this?

This is a MirageOS unikernel written in OCaml. It's mostly a demonstration / example of working graphics on this platform.

It uses mirage-framebuffer to handle the drawing and input handling. It is built on top of the mirage-qubes library.

It can run as a Xen unikernel under QubesOS or as an SDL application under Linux/FreeBSD.

If you're also interested in writing games in a functional language, I liked this brief introduction.

Gameplay

This is a multiplayer game.

Player One controls the left bar using W (up) and S (down).

Player Two uses the arrows keys.

Limitations

The only thing you can with this is play pong. Both because it is single-purpose unikernel, but also the redrawing is unoptimized to the point where it struggles to keep up the pace. PRs welcome!

  • no networked play (yet)

Credits

  • OS UX lead architect and co-founder, @halfd
  • Lead Experimental Advanced Math Consultant, @azet + a lot of moral support, and very good ideas re: the UI.
  • Senior Backbone Infrastructure Operations Architect @reynir, thank you so much for tethering from your phone!