10-23-2001
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
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
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
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
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
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
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
maze(1X) maze(1X)
NAME
maze - an automated X11 demo repeatedly creating and solving a random maze
SYNOPSIS
maze [-S] [-r] [-g geometry] [-d display]
OPTIONS
Full screen window option... Reverse video option... Specifies the window geometry to be used... Specifies the display to be used...
The following lists the current functionality of various mouse button clicks; Clears the window and restarts maze... Toggles the maze pro-
gram, first click -> stop, second click -> continue... Kills maze...
DESCRIPTION
The maze program creates a "random" maze and then solves it with graphical feedback.
LIMITATIONS
No color support...
Expose events force a restart of maze...
Currently, mouse actions are based on "raw" values [ Button1, Button2 and Button3 ] from the ButtonPress event...
[ does not use pointer mapping ]
COPYRIGHT
Copyright 1988 by Sun Microsystems, Inc. Mountain View, CA.
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, pro-
vided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in sup-
porting documentation, and that Sun not be used in advertising or publicity pertaining to distribution of the software without specific
prior written permission. Sun makes no representations about the suitability of this software for any purpose. It is provided "as is" with-
out any express or implied warranty.
SUN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. IN NO EVENT SHALL SUN BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
USE OR PERFORMANCE OF THIS SOFTWARE.
AUTHOR(S)
Richard Hess [ X11 extensions ] {...}!uunet!cimshop!rhess
Consilium, Mountain View, CA
Dave Lemke [ X11 version ] lemke@sun.COM
Sun MicroSystems, Mountain View, CA
Martin Weiss [ SunView version ]
Sun MicroSystems, Mountain View, CA
maze(1X)