#! /usr/bin/perl require "/usr/local/lib/perl4/cgi-lib.pl"; $dirlistfile = "/var/www/Namaste/Rambhoja/games/gameslist"; sub get_game_dir { local($dirlistfile) = @_; local($gamedir); open(DIRLIST,$dirlistfile) || die "Couldn't open game list file $dirlistfile: $!\n"; srand; # This command randomly selects a line from a file and assigns it # to $gamedir. It does it in one pass without knowing the number of # lines in the file. It is described in the camel book p.246 rand($.) < 1 && ($gamedir = $_) while ; close(DIRLIST); chop($gamedir); $gamedir } sub print_HTML_File { local($gamehome) = @_; print &PrintHeader; print < Rambhoja and the Search for the Treasures of India


Rambhoja and the Search for the Treasures of India


An educational, interactive game about India

Welcome to

RAMBHOJA AND THE SEARCH FOR THE TREASURES OF INDIA !

Welcome to the greatest challenge you've ever faced!

As an adventurer, your escapades have been documented as but now the time has come to truly test your skills!

Rambhoja and the Search for the Treasures of India

has begun and you're about to be thrust into the wildest ride of your life. As the greatest investigator and explorer of all time, the famous Rambhoja, you've been hired by the Indian Government to undertake the monumental task of locating and identifying the much spoken of but never seen wonders of India. With a special licence from the Prime Minister of India, you have been given a permit authorizing you to access resources and information available only to the highest ranking officials of the Government of India.


Click here for instructions on how to play this game.

If you're ready to claim your treasures,

Let's Go!!!

This page has been accessed times.
ENDOFTEXT } $gamehome = &get_game_dir($dirlistfile); &print_HTML_File($gamehome);