CC AI
#31
Quote:How many moves are possible in a CC level, given the time limit (say Lesson 1 in CC1)? Anyone with better math skills than I do have an idea?


Well Lesson 1 has a time limit of 100 seconds and you can make normally make 5 moves per second so conceivably you could make 500 moves before time runs out. There are 4 moves (up, down, left, right) so that gives us 4^500 which is around 10^301. For comparison the are only 10^80 atoms in the observable universe. Trying every every possible set of moves is not a solution except when talking about in the theoretical sense.

Now CC has a lot of repeated states, for example if you move left then up, or up, then left you are in the same sate after those two moves. So don't need to treat those as two separate situations. In other words you only have to look at different broad positions or states. The first level has 26 items that can either be on or off the board, (keys, doors, and chips) and chip has 25 valid location not including the exit. So their are (2^26)*25 around 17 billion states, (though not all are reachable), this is much less than 10^301. You could probably explore the whole state space in several seconds, with a regular desktop.

There are more advanced techniques that start to mimic how a human might solve a problem I'm using in my AI, that can reduce this state space even further.
Reply


Messages In This Thread
CC AI - by lotu - 06-Mar-2012, 2:39 AM
CC AI - by tensorpudding - 06-Mar-2012, 12:24 PM
CC AI - by AdrenalinDragon - 06-Mar-2012, 12:27 PM
CC AI - by rockdet - 08-Mar-2012, 12:02 PM
CC AI - by Lessinath - 08-Mar-2012, 12:15 PM
CC AI - by rockdet - 08-Mar-2012, 12:29 PM
CC AI - by pieguy - 08-Mar-2012, 1:41 PM
CC AI - by Lessinath - 08-Mar-2012, 2:19 PM
CC AI - by lotu - 08-Mar-2012, 8:56 PM
CC AI - by rockdet - 08-Mar-2012, 9:24 PM
CC AI - by tensorpudding - 08-Mar-2012, 10:42 PM
CC AI - by Lessinath - 08-Mar-2012, 10:45 PM
CC AI - by lotu - 09-Mar-2012, 11:19 AM
CC AI - by geodave - 18-Mar-2012, 11:04 AM
CC AI - by Hornlitz - 18-Mar-2012, 1:38 PM
CC AI - by Lessinath - 18-Mar-2012, 2:28 PM
CC AI - by tensorpudding - 18-Mar-2012, 7:29 PM
CC AI - by Hornlitz - 18-Mar-2012, 8:00 PM
CC AI - by lotu - 19-Mar-2012, 11:11 PM
CC AI - by Lessinath - 20-Mar-2012, 12:02 AM
CC AI - by BitBuster - 20-Mar-2012, 8:03 AM
CC AI - by lotu - 20-Mar-2012, 9:37 AM
CC AI - by BitBuster - 20-Mar-2012, 11:49 AM
CC AI - by jblewis - 23-Mar-2012, 10:33 AM
CC AI - by pieguy - 25-Mar-2012, 1:18 AM
CC AI - by jblewis - 25-Mar-2012, 6:27 AM
CC AI - by BitBuster - 25-Mar-2012, 9:06 AM
CC AI - by geodave - 26-Mar-2012, 10:36 AM
CC AI - by jblewis - 26-Mar-2012, 10:44 AM
CC AI - by lotu - 01-Apr-2012, 8:50 PM
CC AI - by lotu - 01-Apr-2012, 9:14 PM
CC AI - by lotu - 01-Apr-2012, 10:58 PM
CC AI - by BitBuster - 02-Apr-2012, 8:13 AM
CC AI - by lotu - 04-Apr-2012, 1:53 AM
CC AI - by budugoo - 31-Jul-2012, 11:51 AM
CC AI - by Lessinath - 01-Aug-2012, 3:07 AM
CC AI - by IceyLava108 - 04-Aug-2012, 12:11 AM
CC AI - by lotu - 14-Apr-2013, 4:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)