Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Easy (Score 1) 602

[1]> (format nil "~r shillings only." 1234567890)
output: "one billion, two hundred and thirty-four million, five hundred and sixty-seven thousand, eight hundred and ninety shillings only."

(Sorry, but you did say "old" man :))

You can also do this:

[2]> (defun replace-old-man-with-simple-lisp-function (shillings) (format nil "~r shillings only." shillings))
output: REPLACE-OLD-MAN-WITH-SIMPLE-LISP-FUNCTION
[3]> (replace-old-man-with-simple-lisp-function 1234567890)
output: "one billion, two hundred and thirty-four million, five hundred and sixty-seven thousand, eight hundred and ninety shillings only."

Disclaimer: I'm still one of the youngsters, due to the fact that I'm still a student.

Comment Re:Not just for Linux (Score 1) 210

You can use the OS module to try and abstract some of those problems. For example, os.mkdir() or os.chdir() always does the right thing, using the string os.sep (if I recall correctly, it's been a long time since I've last used it), although I've just noticed that os.chdir() only works on Unix and Windows, so I guess your point still stands.

Comment Re:Then make games that are fun for more than 4 ho (Score 1) 462

Nethack

Second dungeon level. I see a fountain. Decide to drink from it to see if I could get a wish. Become surrounded by snakes.

Decided what my next step would be.

I had started with the Sleep spell, so I could make all the snakes fell asleep and then kill them with the help of my pet

I also had a scroll of Scare Monster so I could make them go away and climb to the previous level to recover health (I was low on health).

Or I could engrave the E-word and forced the snakes to not attack me for a few turns and wait to on that spot to heal back my health and in the meanwhile let my pet take care of them. The problem is that I only had a Magic Marker to engrave, and I didn't want to waste charges

I decided to play it safe and use the scroll of Scare Monster to run away because I wasn't sure I could cast Sleep on all the snakes before they killed me.

That being said, I heard that the game gets a little repetive the further you go down the dungeon.

Although one of the best games I played last year was I Wanna Be The Guy, which is pretty much linear (you can decide the order you take the paths, but you have to take them all), but it nailed that "One more try" feeling (especially when the try usually takes 1 or 2 seconds...).

Right now I've been playing a game that uses the same engine called I Wanna Be The Fangame except that music doesn't work on WINE, so it's not as fun to play as the original.

Slashdot Top Deals

Arithmetic is being able to count up to twenty without taking off your shoes. -- Mickey Mouse

Working...