Nice - you need to detect the end of the game :D
it also shows some "ele is undefined"

zalun

On 02/25/11 23:55, Matthew Hazlett wrote:
> Fixed the logic
> 
> http://jsfiddle.net/bXj3p/3/
> 
>  
> 
> I just have to add a thing to declare the winner / looser or stale mate.
> 
> I’ll get it done, working on it 5 minutes at a time.. 
> 
>  
> 
> *From:*[email protected]
> [mailto:[email protected]] *On Behalf Of *Paul Saukas
> *Sent:* Friday, February 25, 2011 1:12 PM
> *To:* [email protected]
> *Subject:* Re: [Moo] Re: Bored Programmer Alert !
> 
>  
> 
> goes nuts? The damn thing out right cheats! ^_^  Neat though, good work.
> 
> On Fri, Feb 25, 2011 at 12:38 PM, hazlema <[email protected]
> <mailto:[email protected]>> wrote:
> 
> Ok I changed it up, kinda a fun thing, I havnt really done a thinking
> game before, although tic tac toe is hardly chess.
> 
> http://jsfiddle.net/bXj3p/2/
> 
> Heres some computer AI I put in, needs work it goes nuts when there
> are no more real moves to make.  I'll finish the rest later.
> 
> 
> 
> On Feb 24, 9:37 pm, hazlema <[email protected]
> <mailto:[email protected]>> wrote:
>> If you want to add logic to this, go ahead.  I just made it for
> something to
>> do
>>
>> http://jsfiddle.net/bXj3p/1/
> 
>  
> 


-- 
blog  http://piotr.zalewa.info
fidd  http://jsfiddle.net/user/zalun/
twit  http://twitter.com/zalun
face  http://facebook.com/zaloon

Reply via email to