Re: Othello from PAIP in Clojure

2013-12-18 Thread edward
Hey, thanks for the response. 'any-legall-move?' is used to determine if the player has any legal moves, if not then it's the other player's turn; if neither has any legal moves then the game is over. So when it is called the 'desired move' is unknown. Similarly 'legal-moves' is used before you

Re: Othello from PAIP in Clojure

2013-12-16 Thread Sean Chalmers
I don't really have anything to critique, merely observe... ;) I find your implementation interesting because you chose to use two dimensional arrays to represent the board, I initially went down that road with mine but in the end went with a single list because I found it easier to handle the

Re: Othello from PAIP in Clojure

2013-12-16 Thread edward
I look forward to your critique! On Friday, December 13, 2013 1:41:08 PM UTC, Sean Chalmers wrote: > > I'm running out of break time so I'll have to give this a look over a bit > later, looks pretty good from a quick scan though! Interested to dive in > the guts of it! :) > > If you're intereste

Re: Othello from PAIP in Clojure

2013-12-16 Thread edward
I look forward to your critique :) -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscri

Re: Othello from PAIP in Clojure

2013-12-13 Thread Brian Muhia
This provides sufficient motivation for me to do the same thing. I read most PAIP in my gap year from college, and have wanted to get back to it again (in Clojure, of course). Making time, building a nice book club, and lots of pizza should provide enough activation energy to go at it. Thanks f

Re: Othello from PAIP in Clojure

2013-12-13 Thread Sean Chalmers
I'm running out of break time so I'll have to give this a look over a bit later, looks pretty good from a quick scan though! Interested to dive in the guts of it! :) If you're interested, this is my not-yet-finished implementation of Othello: https://github.com/mankyKitty/clojure-othello . I ha

Othello from PAIP in Clojure

2013-12-13 Thread edward
One of my favourite computer science / programming books is Peter Norvig’s “Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp” (PAIP). And the extended Othello example had always fascinated me so when I was looking for something to write to help me learn Clojure it w