Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: First attempt at a Python prog (Chess)

Reply
Thread Tools

Re: First attempt at a Python prog (Chess)

 
 
Tim Golden
Guest
Posts: n/a
 
      02-15-2013
> On Sat, Feb 16, 2013 at 2:36 AM, Tim Golden <> wrote:
>> 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.



>

On 15/02/2013 15:49, Chris Angelico wrote:
> I'm sorry, I don't follow. People forgot that x comes before y, like
> it does in everything algebraic? Or is it that people lost track of
> which axis you called 'x' and which you called 'y'?



> On 15/02/2013 16:48, Jussi Piitulainen wrote:
> Surely you knew to have f1(board, x, y) for getting whatever is at
> (x,y) and f2(store, x, y, wev) for putting wev at (x,y). Why didn't
> you do that?


To be honest I don't remember exactly what we did get confused
over; it was probably whether our origin was top left and/or
whether we were storing in row or in column order. But in any
case, my experience is that stuff which is perfectly easy to
reason about and write as Jussi has above when you're just
coding quietly on your own becomes a confused ball of mess as
soon as you're part of a Dojo team with 60 minutes to come up
with a solution. (Not saying that we couldn't have managed better;
merely that we didn't).

TJG


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: First attempt at a Python prog (Chess) Oscar Benjamin Python 4 02-19-2013 09:10 PM
Re: First attempt at a Python prog (Chess) Rick Johnson Python 0 02-15-2013 05:05 AM
Re: First attempt at a Python prog (Chess) jkn Python 1 02-15-2013 03:09 AM
Re: First attempt at a Python prog (Chess) Ian Kelly Python 0 02-14-2013 06:30 PM
Re: First attempt at a Python prog (Chess) Oscar Benjamin Python 0 02-13-2013 11:55 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57