2 More Discussions You Might Find Interesting
1. What is on Your Mind?
Hey Guys,
I have made this basic snake game but it a little bit different from conventional snake game. Learned some basics of Unix. Hope you enjoy playing it.
Please download and run on your machine and suggest any changes i can make. and let me know if someone could score 1000 points ;)
... (2 Replies)
Discussion started by: amit14august
2 Replies
2. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
The course work is to implement "Colossal Cave Adventure"(350 original version) in C programming on unix... (1 Reply)
Discussion started by: tamil.pamaran
1 Replies
LEARN ABOUT NETBSD
battlestar
BATTLESTAR(6) BSD Games Manual BATTLESTAR(6)
NAME
battlestar -- a tropical adventure game
SYNOPSIS
battlestar [-r] [saved-file]
DESCRIPTION
battlestar is an adventure game in the classic style. However, it's slightly less of a puzzle and more a game of exploration. There are a
few magical words in the game, but on the whole, simple English should suffice to make one's desires understandable to the parser.
THE SETTING
In the days before the darkness came, when battlestars ruled the heavens...
Three He made and gave them to His daughters,
Beautiful nymphs, the goddesses of the waters.
One to bring good luck and simple feats of wonder,
Two to wash the lands and churn the waves asunder,
Three to rule the world and purge the skies with thunder.
In those times great wizards were known and their powers were beyond belief. They could take any object from thin air, and, uttering the
word 'su' could disappear.
In those times men were known for their lust for gold and desire to wear fine weapons. Swords and coats of mail were fashioned that could
withstand a laser blast.
But when the darkness fell, the rightful reigns were toppled. Swords and helms and heads of state went rolling across the grass. The entire
fleet of battlestars was reduced to a single ship.
SAMPLE COMMANDS
take --- take an object
drop --- drop an object
wear --- wear an object you are holding
draw --- carry an object you are wearing
put on --- take an object and wear it
take off -- draw an object and drop it
throw <object> <direction>
! <shell esc>
IMPLIED OBJECTS
>-: take watermelon
watermelon:
Taken.
>-: eat
watermelon:
Eaten.
>-: take knife and sword and apple, drop all
knife:
Taken.
broadsword:
Taken.
apple:
Taken.
knife:
Dropped.
broadsword:
Dropped.
apple:
Dropped.
>-: get
knife:
Taken.
Notice that the "shadow" of the next word stays around if you want to take advantage of it. That is, saying "take knife" and then "drop"
will drop the knife you just took.
SCORE & INVEN
The two commands ``score'' and ``inven'' will print out your current status in the game.
SAVING A GAME
The command ``save'' will save your game in a file called .Bstar in your home directory by default. You can recover a saved game by using
the -r option when you start up the game, or by giving the name of the saved file as an argument. Save files will be saved to and restored
from your home directory unless a path is specified - i.e., ``battlestar -r savedgame'' will look for savedgame in your home directory, but
``battlestar -r ./savedgame'' will look in the current directory. ``battlestar -r'' will look for the default file, .Bstar in your home
directory.
DIRECTIONS
The compass directions N, S, E, and W can be used if you have a compass. If you don't have a compass, you'll have to say R, L, A, or B,
which stand for Right, Left, Ahead, and Back. Directions printed in room descriptions are always printed in R, L, A, and B relative direc-
tions.
HISTORY
I wrote Battlestar in 1979 in order to experiment with the niceties of the C Language. Most interesting things that happen in the game are
hardwired into the code, so don't send me any hate mail about it! Instead, enjoy art for art's sake!
AUTHORS
David Riggle
INSPIRATION & ASSISTANCE
Chris Guthrie
Peter Da Silva
Kevin Brown
Edward Wang
Ken Arnold & Company
BUGS
Countless.
FAN MAIL
Send to edward%ucbarpa@berkeley.arpa, chris%ucbcory@berkeley.arpa, riggle.pa@xerox.arpa.
BSD
September 7, 2000 BSD