Re: Simple board game GUI framework

2017-09-13 Thread Paul Moore
On 13 September 2017 at 17:05, Ian Kelly wrote: > On Tue, Sep 12, 2017 at 10:39 PM, Rick Johnson > wrote: >>> > board[r,c] = lbl >> >> Dude, that tuple is naked! And nudity in public places is >> not cool; unless of course your code is a Ms. America model, >> or it resides in a nudis

Re: Simple board game GUI framework

2017-09-13 Thread Ian Kelly
On Tue, Sep 12, 2017 at 10:39 PM, Rick Johnson wrote: >> > board[r,c] = lbl > > Dude, that tuple is naked! And nudity in public places is > not cool; unless of course your code is a Ms. America model, > or it resides in a nudist colony (Hey, don't forget your > "sitting towel"!), whic

Re: Simple board game GUI framework

2017-09-13 Thread Christian Gollwitzer
Am 11.09.17 um 16:12 schrieb Paul Moore: Thanks for the information. That's more or less the sort of thing I was thinking of. In fact, from a bit more browsing, I found another way of approaching the problem - rather than using pygame, it turns out to be pretty easy to do this in tkinter. That

Re: Simple board game GUI framework

2017-09-12 Thread Rick Johnson
Terry Reedy wrote: > Paul Moore said: [...] > I was going to suggest tkinter. I would second Terry's advice here. If a low barrier and simplicity are what you want, then i would suggest tkinter first and Pygame second. You can do a lot with a tk.Canvas widget, and for proper image support make sur

Re: Simple board game GUI framework

2017-09-12 Thread Wolfgang Maier
On 11.09.2017 12:58, Paul Moore wrote: I'm doing some training for a colleague on Python, and I want to look at a bit of object orientation. For that, I'm thinking of a small project to write a series of classes simulating objects moving round on a chess-style board of squares. I want to concent

Re: Simple board game GUI framework

2017-09-11 Thread Terry Reedy
On 9/11/2017 12:56 PM, Paul Moore wrote: I'm not looking at actually implementing chess. The idea was prompted by a programming exercise my son was given, that was about programming a series of classes modelling robots that know their position on a grid, and when told to move, can do so accordin

Re: Simple board game GUI framework

2017-09-11 Thread Terry Reedy
On 9/11/2017 10:12 AM, Paul Moore wrote: Thanks for the information. That's more or less the sort of thing I was thinking of. In fact, from a bit more browsing, I found another way of approaching the problem - rather than using pygame, it turns out to be pretty easy to do this in tkinter. I wa

Re: Simple board game GUI framework

2017-09-11 Thread Paul Moore
On 11 September 2017 at 16:32, Dennis Lee Bieber wrote: > This leads to a subtle question... If the focus strictly on OOP, or do > you intend to supply some precursor OOAD stuff. OOP is just implementation > and usage, but without some understanding of OOAD the concepts may come > across a

Re: Simple board game GUI framework

2017-09-11 Thread Paul Moore
On 11 September 2017 at 14:52, Christopher Reimer wrote: >> On Sep 11, 2017, at 3:58 AM, Paul Moore wrote: >> >> I'm doing some training for a colleague on Python, and I want to look >> at a bit of object orientation. For that, I'm thinking of a small >> project to write a series of classes simul

Re: Simple board game GUI framework

2017-09-11 Thread Christopher Reimer
> On Sep 11, 2017, at 3:58 AM, Paul Moore wrote: > > I'm doing some training for a colleague on Python, and I want to look > at a bit of object orientation. For that, I'm thinking of a small > project to write a series of classes simulating objects moving round > on a chess-style board of squares

Re: Simple board game GUI framework

2017-09-11 Thread Tim Golden
On 11/09/2017 11:58, Paul Moore wrote: I'm doing some training for a colleague on Python, and I want to look at a bit of object orientation. For that, I'm thinking of a small project to write a series of classes simulating objects moving round on a chess-style board of squares. Don't know if yo

Re: Simple board game GUI framework

2017-09-11 Thread Paul Moore
On 11 September 2017 at 13:13, Stefan Ram wrote: > Paul Moore writes: >>write a series of classes simulating objects > > I'd say "write classes for objects". Yeah, that's just me not being precise in my mail. Sorry. >>objects moving round on a chess-style board of squares > > This seems to

Simple board game GUI framework

2017-09-11 Thread Paul Moore
I'm doing some training for a colleague on Python, and I want to look at a bit of object orientation. For that, I'm thinking of a small project to write a series of classes simulating objects moving round on a chess-style board of squares. I want to concentrate on writing the classes and their beh