Author: Graham Laight
Date: 02:05:18 02/01/03
Go up one level in this thread
On January 31, 2003 at 13:36:13, Fernando Alonso wrote: >I tried 2 experiments: >In the first one i took a book and wether i found an "r" or an "l" i typed right >or left. I lost :) >In the second one I tried to create patterns but without relation between them. >I think it is almost impossible to create random numbers, even with a computer >as you always need an algorithm to create them, that´s why i did this method, >and i won, but it wasn´t easy! >What kind of pattern recognition do you usa, neural networks? I'm afraid you're going to be disappointed - it's nothing so glamorous as NNs or GAs - just nested "for" loops searching for patterns. As it's a JavaScript program, you can look at it by opening the page and then selecting View - Source from the menu - but I suggest you'll have more fun if you play the game first before looking at how it works. >I hace had a nice time with your game, now i will have to recover tiem from work >this weekend! LOL. >Here are the games:Book experiment >R0 L0 R1 L0 L0 R1 R1 R1 R0 R0 R1 R1 R0 R0 L1 R1 R0 R1 R0 R0 L1 R0 R0 L0 L0 L1 L0 >R1 R1 L1 L0 L0 L0 L0 R1 L0 R1 R1 L0 R1 L1 R1 L1 L1 R1 L0 R1 R0 R1 L1 R1 L0 R1 L1 >L1 R0 L1 R0 R1 R0 R0 L0 R0 L0 R0 L0 R0 L1 R0 L1 L0 L1 R0 R1 L0 L1 R0 R0 R0 L1 R0 >R1 R1 R0 R0 L0 R0 L0 R1 L0 R0 L1 R1 R1 R0 L1 L0 R0 R1 R0 R1 R1 R0 R0 L0 R1 R1 R0 >R0 L1 R0 R0 R1 L0 R0 R1 R0 L0 L0 L0 L0 R0 R0 L1 L0 R1 L0 L0 L1 R0 L0 R1 L1 R1 L0 >L0 L1 L0 L0 L1 L0 R0 L1 L1 L0 L0 L0 L0 R1 L0 L0 R1 L1 L0 R1 R1 L0 L0 R1 R1 L1 L0 >L0 R1 R0 R0 L0 L1 R1 R1 R0 L0 L0 L0 R1 L0 R0 R0 R0 R0 L0 R1 L0 L0 R0 L1 L1 L0 R1 >L1 L0 R1 L0 R1 R0 R1 L0 R1 R0 R1 L0 >Trying different patterns >L0 L1 L0 R0 L0 R0 R1 L0 R1 R1 R0 R0 R0 R0 R0 L1 L1 L1 L1 R0 L0 R1 L1 R1 R1 R1 R0 >L0 L0 L1 L0 R1 L0 L1 R1 R1 R0 R1 R1 R1 R0 R1 R0 R0 L1 L0 L0 L0 L0 L0 L1 L1 L1 L0 >L0 L0 R1 L1 R0 L1 R1 L0 R1 L0 R1 L1 R0 L0 L1 L1 L1 R1 R1 R0 L1 L1 R1 L0 L1 R1 R0 >R0 L1 L0 L1 L0 R1 R1 R1 R1 R0 L1 L0 L1 R0 L1 R1 L1 L0 R1 L0 L0 L1 L0 R0 R1 L1 R0 >R0 L1 L0 L0 R1 R0 L1 L1 R1 R0 L1 L1 L0 R0 R0 R0 R0 L1 R1 R1 L1 R0 R0 R0 L1 L0 R0 >R1 L0 L1 R0 L0 R1 R1 L1 R0 L1 L1 L0 L0 R1 R0 R1 R0 R1 R1 L1 L1 L0 R0 L0 R0 R0 L0 >R0 L0 L1 R0 R1 L0 L1 R0 R1 L0 R1 L1 R1 L1 L0 L1 L1 L0 L0 R0 R0 L0 R1 R1 R0 L1 L0 >R0 L1 L0 L1 L0 R0 R0 L1 L1 L1 R1 R1 >Regards >Fernando Alonso. If anyone out there uses Netscape Navigator, it should now be working properly in that browser - please post here if there are any further problems. http://mysite.freeserve.com/grahamlaight/jscript/GuessWhichHand.htm -g
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.