This looks like it could run on the X server - it just uses standard X libs or though SDL conversion could be possible as it's using graphics commands rather than widgets.
The controls are quite simple too - arrow keys and enter.
The main work would be in scaling down the graphics and text