Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Learning to script...want a project to work on (making a small MUD) Post 9177 by learningtoscrip on Tuesday 23rd of October 2001 02:37:10 PM
Old 10-23-2001
Question Learning to script...want a project to work on (making a small MUD)

Will it be possible to make a MUD using unix script(bash)? I know I can easilly make a "dungeon" with different rooms I can run through and such(kinda like a maze game) . What I did was made a differnt shell script for each room and used CASE for the different places to go, ex. when you press N for north it would call up the script file for the room to the north . Now that I know I can make a maze of rooms like this...is there a way for me to make a universal file that runs in the background that will control the "monsters" that will roam my maze...and different commands that will work in whatever room Im in(ex. typing /help anywhere pulls up the help script then returns me to whatever room I was in after Im done). Is this too complex for a script?? This is my first exposure to scripting/programming. If I can do this with script...am I going about it all wrong? Any help/links is very much appreciated thanks!
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

A small project with bash script and craigslist

Before I start, I'm posting this for community knowledge, not to offend anyone. I thought it was an interesting project so that's why I'm sharing it. In the notorious erotic classified ads of craigslist, thousands of individuals post classifieds, using the internet to sell themselves with an... (0 Replies)
Discussion started by: hexpill
0 Replies

2. UNIX for Dummies Questions & Answers

Making a program compiled on Unix (HPUX) work on Linux

I am trying to make an application which works on unix to work on linux. I already tried copying the binary files and start it up but I am getting an error stating "Cannot execute binary file". Then I tried to recompile but i am getting an error whenever I tried to recompile. I am getting the... (1 Reply)
Discussion started by: khestoi
1 Replies

3. Programming

Need Help in Small Project

I need help with a small project that I am doing for my client. My clients have a company that does staffing for hotel workers and when they sign up with him, they have to watch 4 separate training videos. What I need help with is a script of some sort that will pop-up a sign in box of some sort... (2 Replies)
Discussion started by: AimyThomas
2 Replies

4. Shell Programming and Scripting

Making a bash script and small C program for a homework assignment

Here's the assignment. I'll bold the parts that are rough for me. Unfortunately, that's quite a bit lol. The syntax is, of course, where my issues lie, for the most part. I don't have a lot of programming experience at all :/. I'd post what I've already done, but I'm so lost I really don't know... (1 Reply)
Discussion started by: twk101
1 Replies

5. Shell Programming and Scripting

Learning project ideas - shell, python, UNIX tools, system administration

Hi guys, I am currently working as a system administration engineer, administering telecom applications on linux/unix platforms. I want to learn new things and improve the ones that i have and for this i though to really work on some project or something but i lack of ideas. I want to be... (2 Replies)
Discussion started by: capitanui
2 Replies

6. Homework & Coursework Questions

Small project help

hey..i need help with one small project..basically at the shell script level..have for that approx 2 days..and willing to pay..actually before went to fiverr.com and www.enotes.com/homework-help and www.upwork.com and yourhomeworkhelp.org but they are charging me a lot for this type of... (1 Reply)
Discussion started by: steph33
1 Replies
WUMP(6) 							 BSD Games Manual							   WUMP(6)

NAME
wump -- hunt the wumpus in an underground cave SYNOPSIS
wump [-h] [-a arrows] [-b bats] [-p pits] [-r rooms] [-t tunnels] DESCRIPTION
The game wump is based on a fantasy game first presented in the pages of People's Computer Company in 1973. In Hunt the Wumpus you are placed in a cave built of many different rooms, all interconnected by tunnels. Your quest is to find and shoot the evil Wumpus that resides elsewhere in the cave without running into any pits or using up your limited supply of arrows. The options are as follows: -a Specifies the number of magic arrows the adventurer gets. The default is five. -b Specifies the number of rooms in the cave which contain bats. The default is three. -h Play the hard version -- more pits, more bats, and a generally more dangerous cave. -p Specifies the number of rooms in the cave which contain bottomless pits. The default is three. -r Specifies the number of rooms in the cave. The default cave size is twenty-five rooms. -t Specifies the number of tunnels connecting each room in the cave to another room. Beware, too many tunnels in a small cave can eas- ily cause it to collapse! The default cave room has three tunnels to other rooms. While wandering through the cave you'll notice that, while there are tunnels everywhere, there are some mysterious quirks to the cave topol- ogy, including some tunnels that go from one room to another, but not necessarily back! Also, most pesky of all are the rooms that are home to large numbers of bats, which, upon being disturbed, will en masse grab you and move you to another portion of the cave (including those housing bottomless pits, sure death for unwary explorers). Fortunately, you're not going into the cave without any weapons or tools, and in fact your biggest aids are your senses; you can often smell the rather odiferous Wumpus up to two rooms away, and you can always feel the drafts created by the occasional bottomless pit and hear the rustle of the bats in caves they might be sleeping within. To kill the wumpus, you'll need to shoot it with one of your magic arrows. Fortunately, you don't have to be in the same room as the crea- ture, and can instead shoot the arrow from as far as three or four rooms away! When you shoot an arrow, you do so by typing in a list of rooms that you'd like it to travel to. If at any point in its travels it cannot find a tunnel to the room you specify from the room it's in, it will instead randomly fly down one of the tunnels, possibly, if you're real unlucky, even flying back into the room you're in and hitting you! BSD
May 31, 1993 BSD
All times are GMT -4. The time now is 05:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy