Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


Comment: Re:Let it try at 80s/90s games (Score 1) 148

by weilawei (#49136931) Attached to: Artificial Intelligence Bests Humans At Classic Arcade Games

import random
import urllib.request

player = random.choice(['You', 'I'])
station = str()

tube_stations = urllib.request.urlopen(r'').readlines()
tube_stations = [i.decode('utf-8').split(',')[0] for i in tube_stations]

while True:
        if 'You' == player:
                station = input('Enter a station: ')
                station = random.choice(tube_stations)

        if 'Mornington Crescent' == station:
                print("%s won!" % player)
        elif station in tube_stations:
                print("%s chose %s. Wrong!" % (player, station))
                player = 'I' if ('You' == player) else 'You'
                print('Try a real station!')

Ask and ye shall receive?

Comment: Re:OMNI (Score 1) 122

by weilawei (#49094123) Attached to: The Science of a Bottomless Pit

How about a vacuum tube that was formed in a loop passing through Earth and then back around the outside? It would need to be around 8000 miles in diameter (as a circle), since Wolfram Alpha says Earth's radius is 3957 miles. The tunnel would have a circumference somewhat over 25,000 miles.

The engineering is left as an exercise to the reader.

Comment: Re:the winter dragon is coming, (Score 1) 54

by weilawei (#49031883) Attached to: Something Resembling 'The Wheel of Time' Aired Last Night On FXX

Yep, that was a fantastic shooter. Nothing out at the time (that I know of/played; someone will correct me here) really had interacting weapons like that. Turned it into a very fast-paced version of chess, plus you could lay traps in your area before a match started.

Stinginess with privileges is kindness in disguise. -- Guide to VAX/VMS Security, Sep. 1984