or you can use the sequencer plugin, Sequencer plugin is for the AttractMode front end. It selects a random game after a period of inactivity https://github.com/keilmillerjr/sequencer-plugin