Added simple game loops.