Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'ok.': 0.07; '(instead': 0.09; 'list).': 0.09; 'cc:addr:python- list': 0.10; 'thread': 0.11; '(also': 0.16; 'ah,': 0.16; 'algorithm.': 0.16; 'benjamin': 0.16; 'cc:name:python list': 0.16; 'coordinates': 0.16; 'display,': 0.16; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'multiplied': 0.16; 'pairs': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'tjg': 0.16; 'wrote:': 0.17; 'tim': 0.18; 'followed': 0.20; 'written': 0.20; 'earlier': 0.21; "i'd": 0.22; 'cc:2**0': 0.23; 'split': 0.23; 'pass': 0.25; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'question': 0.27; 'first.': 0.27; 'went': 0.28; 'represent': 0.28; 'asks': 0.29; 'lists': 0.31; '(and': 0.32; 'suggestion': 0.32; 'received:192.168.100': 0.33; 'true.': 0.33; 'handle': 0.33; 'list': 0.35; 'doing': 0.35; 'something': 0.35; 'really': 0.36; '(i.e.': 0.36; 'too': 0.36; 'subject: (': 0.36; 'subject:: ': 0.38; 'received:192': 0.39; 'list,': 0.39; 'received:192.168': 0.40; 'first': 0.61; 'back': 0.62; 'time,': 0.62; 'subject:First': 0.65; 'from:addr:mail': 0.71; 'forth': 0.75; '2013': 0.84; 'abandon': 0.84; 'oscar': 0.84; '"how': 0.91; 'to:none': 0.93; 'favour': 0.93 Date: Fri, 15 Feb 2013 15:36:01 +0000 From: Tim Golden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 CC: Python List Subject: Re: First attempt at a Python prog (Chess) References: <2013021323250974803-chrishinsley@gmailcom> <511E1DCB.40406@timgolden.me.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360942565 news.xs4all.nl 6932 [2001:888:2000:d::a6]:58490 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38924 On 15/02/2013 13:11, Oscar Benjamin wrote: > On 15 February 2013 11:36, Tim Golden wrote: >> And the "how shall we represent the board?" question is pretty >> much the first thing any team asks themselves. And you always >> get someone in favour of lists of lists, someone for one long >> list, > > I always get confused when doing this about which of my coordinates > needs to be multiplied (i.e. whether I am in Fortran or C order). How true. This last time, my team split into two: one half to handle the display, the other working on the algorithm. We ended up having to draw a really simple diagram on the back of an envelope with the x,y pairs written out and pass it back and forth as *everyone* kept forgetting which went first. >> (Also I seem to remember that the OP was advised earlier precisely >> to abandon lists of lists in favour of something else). > > Actually the suggestion was for the list of lists (instead of a flat list). Ah, ok. I'd only followed the thread casually. (And I was too lazy to go back and check). TJG