Path: utzoo!utgpu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!hellgate.utah.edu!tjones From: tjones%hellgate.utah.edu@cs.utah.edu (Mr. Signal 11) Newsgroups: alt.hackers Subject: Hacking in MUSH code. Keywords: MUSH, Automated Chess Boards Message-ID: <1991May6.051638.15173@hellgate.utah.edu> Date: 6 May 91 11:16:38 GMT Reply-To: tjones%peruvian.utah.edu@cs.utah.edu Organization: University of Utah, CS Dept., Salt Lake City Lines: 24 Approved: tjones@peruvian.utah.edu Okay, maybe not everyone thinks it is hacking, bu I've gotta post this anyway. Just got through coding up a chess game controller. Generally it accepts a move, and lets you make it if it is legal, or else tells you it sn't and goes on. The fun part was that I implemented it in MUSH... For those of you who are above calling these things, that means you have in each object, 26 slots that are for code, or for data, or both if you are adventurous. I used a little over twenty objects, each one filled to the brim with the most complicated code I have seen. Multiprocessing, Subroutines (something not built in), complex data abstraction. Ick. Maybe I'll go write in some structured language, like BASIC :-) -- "Don't do anything I wouldn't do. And if you do, take pictures." -Al on QL "Zootlewurdle." -Marvin "Sir, they're changing color." -Lt. Worf "Not a problem." -Parker Lewis Ray Jones (Official Maintainer of Everything) tjones@peruvian.utah.edu