PDA

View Full Version : Games


James0098
01-24-2002, 03:00 PM
Ive found a Few games, from looking around the internet.
Using the terminal window, type "emacs" (without the speechmarks),
Then press shift+escape,
Then press "x" then space " " then one of the following
"snake", "doctor", there are more in localhost/usr/share/emacs/20.7/lisp/play
but no pong, but you can download it from here http://www.gnusoftware.com/Emacs/Lisp/pong.el but you need route access to put it into the folder where the other games are (i think!)

Im not sure how to compile it though, can anyone help me ?

James
Not so wis kid with os X than 9 but copeing quite well!

Craig R. Arko
01-25-2002, 12:06 PM
Do you need to compile this? Won't the Emacs Lisp interpreter just execute it? Though I'm not sure of the distinction between '.el' and '.elc' files.

James0098
01-25-2002, 01:40 PM
i think it needs compiling, because both files are different,
so .el = emacs somthing
.elc = emacs somthing compiled

jcenters
01-27-2002, 04:15 AM
Those ending with .elc are what you would call "byte-compiled". That's only done to reduce the file size -- don't worry about it. Create a folder called Lisp in your home directory, then open up your .emacs file and put this in it:

(setq load-path (append load-path (list "/Users/USERNAME/Lisp")))

Move the pong.el into the Lisp directory.

Then put (load "pong.el") in your .emacs file. Include the quotations.

Restart Emacs. Now just type ESC-x then pong to play.

peepster
01-28-2002, 07:46 AM
Hey James, if you like games why don't you get X Windows working in OS X... there's a ton of free unix games out there... xpilot (an internet game) being my all time favourite.