Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Monkey Shakespeare Simulator  (Read 3959 times)
0 Members and 1 Guest are viewing this topic.
Offline Zipdude

Junior Newbie




Java games rock!


« Posted 2003-07-26 13:08:01 »

Hi folks,

I'd welcome some comments on my new Monkey Shakespeare Simulator applet (and also on the web page that it is embedded in, as it is all part of the concept). What I'd like to know is:

1) Is it easy to understand what the applet/page does?

2) If not, which parts are tricky to grasp?

3) Do you have any suggestions for improvement?

Here's the URL:
http://user.tninet.se/~ecf599g/aardasnails/java/Monkey/webpages/

Thanks in advance for your help!

Nick
Offline EgonOlsen
« Reply #1 - Posted 2003-07-26 13:50:54 »

To answer your questions:

1.) Yes

2.) --

3.) Make it possible to submit the results via the applet and not by copying and pasting it into a mail. I'm to lazy to do this...otherwise i would have been first place now with the first three letters from "The Comedy of Errors".

Offline tortoise

Junior Devvie




<3 Shmups


« Reply #2 - Posted 2003-07-26 13:52:24 »

Haha, this rocks Smiley

I especially like 'The current record is the first 2 letters from "Antony and Cleopatra"'. You guys have got a ways to go Smiley

I just got

the first 3 letters of which match "The First Part of King Henry the Fourth"

But yeah, I think the applet is well done. Have you considered making it along the lines of Folding@Home?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Zipdude

Junior Newbie




Java games rock!


« Reply #3 - Posted 2003-07-26 14:09:37 »

Quote
Make it possible to submit the results via the applet and not by copying and pasting it into a mail.
.

I've looked into this, and I can't think of any way of doing it as my web host doesn't supply any services other than basic page hosting.

Is there a way to "pre-fill" an email from an applet? Clicking on an email address on an HTML page brings up an email (usually), but can the content be specified by the applet?

Quote
Have you considered making it along the lines of Folding@Home?


Yes, if there is enough interest. But at the moment I think having it on the web is a good first step.
Offline Markus_Persson

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Reply #4 - Posted 2003-07-26 14:44:06 »

Surely that thing can't be correct.. I get about as many 1-rights as I do 2-rights, but shoudn't I get about n times more 1-rights, where n is the number of different characters the monkeys can produce?

Play Minecraft!
Offline Mojomonkey

Senior Devvie




ooh ooh eee eeee


« Reply #5 - Posted 2003-07-26 14:58:35 »

All of you eat my dust! I got three! Smiley Runs great in Safari Mac OS 10.2. Very interesting concept. Does it only check for the first letters/numbers? Or if there is a right anywhere does it count it?

Don't send a man to do a monkey's work.
Offline nlmueng

Junior Devvie





« Reply #6 - Posted 2003-07-26 16:55:28 »

i got 4 now

After 4.19891e+7 pages in this session
Offline Zipdude

Junior Newbie




Java games rock!


« Reply #7 - Posted 2003-07-26 17:33:50 »

Hi folks,

I've now figured out how to set up the email automatically with a button. It will be up soon.



Quote
Surely that thing can't be correct.. I get about as many 1-rights as I do 2-rights, but shoudn't I get about n times more 1-rights, where n is the number of different characters the monkeys can produce?


Good question. The answer is, actually, no.

Each bar in the graph is not an individual try, but the BEST single result from a whole day. The probability of a certain length after single attempt is not the same as the probability of getting a certain length after N attempts. As N increases, the probability of 2 letters increases accordingly.
Offline Zipdude

Junior Newbie




Java games rock!


« Reply #8 - Posted 2003-07-26 17:35:43 »

Quote
Does it only check for the first letters/numbers? Or if there is a right anywhere does it count it?


It only checks up to the first incorrect letter.
Offline Markus_Persson

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Reply #9 - Posted 2003-07-26 17:55:21 »

Quote
Each bar in the graph is not an individual try, but the BEST single result from a whole day. The probability of a certain length after single attempt is not the same as the probability of getting a certain length after N attempts. As N increases, the probability of 2 letters increases accordingly.


Ah, ok. =D

Play Minecraft!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline AndersDahlberg

Junior Devvie





« Reply #10 - Posted 2003-07-26 17:59:46 »

Very funny - a great "waste of time" Grin

poor monkeys though... Wink
Offline Daath

Junior Devvie




Java games rock!


« Reply #11 - Posted 2003-07-26 19:41:28 »

really nice little game .... hope there are no animal activists amongst us though ..... Roll Eyes
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #12 - Posted 2003-07-27 00:56:33 »

Some suggestions:

- Are you using a really good random number generator?
I suggest the Mersenne Twister found here: http://cs.gmu.edu/~sean/research/

The Monkeys seem to type a lot of characters that require the shift key to be pressed.  I think the simulation would be more accurate if you made some assumptions about monkey typing.. e.g.  they type with two fingers and hold the key for n milliseconds on average.. thus to type a shifted letter they would have to hit a key while they were holding down the shift key.. just like in real life.

Comparisons to the original text might come in different flavours.. eg. case insensitive, allowing for extra whitespace etc..
The probability of hitting space might be higher than hitting other letters given the size of the space bar.  Perhaps each key should have a bias based on it's general size and location, e.g. the shift key is generally larger than others so it could be pressed more often.. combined with the suggestion above this may balance out the probability of getting capital letters and other symbols requiring shift to be held down.

I applaud you for tackling this long standing scientific conundrum. Smiley

Offline Zipdude

Junior Newbie




Java games rock!


« Reply #13 - Posted 2003-07-27 16:09:04 »


Quote
- Are you using a really good random number generator?

Quote
I applaud you for tackling this long standing scientific conundrum.

Thanks for your excellent suggestions. Increasing the accuracy is a good thing to aim for. However the main point of this site is fun/education rather than scientific discovery, so I don't want to make it too complex. It is not really the same thing as Folding@home and SETI@home, because the solution to the typing monkeys question is already known - it is a simple matter of probabilities.
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #14 - Posted 2003-07-27 20:26:16 »

Quote
It is not really the same thing as Folding@home and SETI@home, because the solution to the typing monkeys question is already known - it is a simple matter of probabilities.

Oh, is it?  How many monkey will it take and for how long then?  Grin

Offline jbanes

JGO Coder


Projects: 1


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #15 - Posted 2003-07-28 00:52:34 »

What I want to know is, is it RFC2795 compliant?! (Yes, that is an actual RFC from the Internet Engineering Task Force. Evidence that the Internet really was constructed by monkeys. Wink)

EDIT: Even more amusing is that Microsoft's Intellimouse protocol is called IMPS/2! Guess Microsoft couldn't follow standards, again.  Tongue Grin

Java Game Console Project
Last Journal Entry: 12/17/04
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (37 views)
2014-12-15 09:26:44

Mr.CodeIt (31 views)
2014-12-14 19:50:38

BurntPizza (62 views)
2014-12-09 22:41:13

BurntPizza (99 views)
2014-12-08 04:46:31

JscottyBieshaar (60 views)
2014-12-05 12:39:02

SHC (74 views)
2014-12-03 16:27:13

CopyableCougar4 (77 views)
2014-11-29 21:32:03

toopeicgaming1999 (138 views)
2014-11-26 15:22:04

toopeicgaming1999 (127 views)
2014-11-26 15:20:36

toopeicgaming1999 (38 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!