#!/usr/bin/perl -w use strict; use warnings; use lib "./lib"; use KAGE; use KAGE::CLI; # Get command-line arguments. my %opt = KAGE::CLI::init(); my $game = new KAGE ( debug => $opt{debug}, base => "./rtp", gfe => $opt{graphics}, # Graphics Front-end sfe => $opt{sound}, # Sound Front-end ffe => $opt{filesystem}, # Filesystem Front-end ); $game->start();