Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Cat and Mouse

Name: Anonymous 2007-10-06 15:09

Has anyone ever had to do this?

--

Java applet version
M. Clancy, U.C. Berkeley
Background reading

Java for Students , chapters 8, 9, and 12.
Background

The scene is an urban park; a cat watches a mouse run around the base of a statue of the first computer. Over the course of a minute, the somewhat witless mouse moves one meter counterclockwise around the statue's base, which is circular and two meters in diameter. Every sixty seconds, the cat pursues the mouse as follows:

ect. ect.

Name: Anonymous 2007-10-06 15:18

>>1
HAHAHAHA
YOU THINK YOURE THOUGH UH ?
I HAVE ONE WORD FOR YOU
  THE FORCED INDENTATION OF THE CODE
GET IT ?
I DONT THINK SO
YOU DONT KNOW ABOUT MY OTHER CAR I GUESS ?
ITS A CDR
AND IS PRONOUNCED ``CUDDER''

OK YOU FUQIN ANGERED AN EXPERT PROGRAMMER
THIS IS
/prog/
YOU ARE ALLOWED TO POST HERE ONLY IF YOU HAVE ACHIEVED SATORI
PROGRAMMING IS ALL ABOUT ``ABSTRACT BULLSHITE'' THAT YOU WILL NEVER COMPREHEND
I HAVE READ SICP
IF ITS NOT DONE YOU HAVE TO
TOO BAD RUBY ON RAILS IS SLOW AS FUCK

BBCODE AND ((SCHEME)) ARE THE ULTIMATE LANGUAGES
ALSO
WELCOME TO
/prog/
EVERY THREAD WILL BE REPLIED TO
NO EXCEPTION

Name: Anonymous 2007-10-06 18:12

>>1

no, not really.

I had to make a java byte code compiler in java though.  Pretty easy if you ask me.

Name: Anonymous 2007-10-06 18:17

>>3
have i heard the j-word ?

Name: Anonymous 2007-10-06 18:44

>>3
You wouldn't still have the source, would you? I wouldn't mind looking at that

Name: Anonymous 2007-10-07 4:15

>>1

no, not really

I had to approximately topologically sort a directed graph though, which I did by recursively finding strongly connected components with Tarjan's algorithm modified to return them in a reverse postorder. Pretty easy if you ask me.

Name: Anonymous 2007-10-07 4:17

>>6
Was it delicious?

Name: Anonymous 2007-10-07 14:06

>>7

no, not really.

Name: Anonymous 2009-02-25 7:58

Counterclockwise.

Name: Anonymous 2009-08-16 22:52

Lain.

Name: Anonymous 2009-08-16 23:29

Lain.

Name: Anonymous 2010-12-24 3:58

Don't change these.
Name: Email:
Entire Thread Thread List