Re: [pygame] learning pygame: what to focus for a board game?

2007-06-15 Thread Laura Creighton
snip Thank you for your kind words, Ah, design patterns! Being not a professional programmer (I'm actually a biophysics ph.d. student) they always escaped me -I tried to have a look at them but I didn't understand a lot of them. Not that I looked very thoroughly. I'll surely dig it. Thanks a

Re: [pygame] learning pygame: what to focus for a board game?

2007-06-15 Thread Dave LeCompte (really)
massimo s. [EMAIL PROTECTED] wrote: Once a tile pops out from the random sample, I assume it will be showed, but the user will want to rotate it, often, before placing it in the board. What would be nice is to have the rotation not to be completely instantaneous, but to actually see the tile

Re: [pygame] learning pygame: what to focus for a board game?

2007-06-15 Thread Dave LeCompte (really)
Laura Creighton [EMAIL PROTECTED] made a distinction: MVC is a pattern, but not a design pattern. I'd be interested to know why you say it isn't a design pattern. I see MVC mentioned on page 4 of my copy of the Gang of Four book on design patterns, but their discussion of it suggests that most

Re: [pygame] learning pygame: what to focus for a board game?

2007-06-15 Thread Chris Smith
I have some experience with pygame + programing board games. If you would like some coding help, I'm available. I've also written a GUI for use with pygame, so I at least have some experience going down that route. Feel free to email me. I'll be next checking my email on Monday though, so don't

Re: [pygame] learning pygame: what to focus for a board game?

2007-06-15 Thread Laura Creighton
In a message of Fri, 15 Jun 2007 04:42:50 PDT, Dave LeCompte (really) writes: Laura Creighton [EMAIL PROTECTED] made a distinction: MVC is a pattern, but not a design pattern. I'd be interested to know why you say it isn't a design pattern. I see MVC mentioned on page 4 of my copy of the Gang

Re: [pygame] learning pygame: what to focus for a board game?

2007-06-15 Thread Dave LeCompte (really)
Laura Creighton [EMAIL PROTECTED] clarified: In the corner of the world I live in, the phrase 'Design Patterns' only refers to the ones in the Design Pattern Catalog -- i.e. chapters 3, 4, and 5. There are only 23 of them (unless you enclude the ones Vlissides found in Pattern Hatching). MVC

Re: [pygame] learning pygame: what to focus for a board game?

2007-06-15 Thread Casey Duncan
On Jun 15, 2007, at 3:16 AM, massimo s. wrote: Luke Paireepinart ha scritto: So I'd like to know: - Should I learn sprites or can I just learn surfaces? I'd like to have (or at least plan to support in the future) some (very simple) animation, like the tile rotation when asked to rotate

Re: [pygame] learning pygame: what to focus for a board game?

2007-06-15 Thread massimo s.
Casey Duncan ha scritto: On Jun 15, 2007, at 3:22 AM, massimo s. wrote: The nice thing is that doing things this way will probably get you Model-View-Controller for free. If you don't know what that is, read http://sjbrown.ezide.com/games/writing-games.html and then google around for some

Re: [pygame] learning pygame: what to focus for a board game?

2007-06-15 Thread massimo s.
Simon Oberhammer ha scritto: also you might want to take a look here to get some ideas for the interface-mechanics: http://brettspielwelt.de/Spiele/ (language flags are topright) brettspielwelt is a online boardgame community. after registration you can play dozends of games for free

Re: [pygame] learning pygame: what to focus for a board game?

2007-06-15 Thread Brian Fisher
Hey massimo, On 6/15/07, massimo s. [EMAIL PROTECTED] wrote: Well, I like to code, but I'd like even more to code *well*. I hate to start programming, seeming to have clear ideas, then realizing that the code is actually a mess. To me coding is an act of elegance. Too bad I don't have the

Re: [pygame] learning pygame: what to focus for a board game?

2007-06-15 Thread Casey Duncan
On Jun 15, 2007, at 3:45 PM, massimo s. wrote: Casey Duncan ha scritto: On Jun 15, 2007, at 3:22 AM, massimo s. wrote: The nice thing is that doing things this way will probably get you Model-View-Controller for free. If you don't know what that is, read

[pygame] Smooth Scaling for Terrain Generation

2007-06-15 Thread kschnee
I fiddled with a different terrain generation algorithm, this one based on using Pygame to do something like Conway's Game of Life. That is, I draw some random shapes of grass on water on a 100x100 image, then iterate each pixel through a Life-like process to build a grass/sand/water map. The

Re: [pygame] Smooth Scaling for Terrain Generation

2007-06-15 Thread Alex Holkner
[EMAIL PROTECTED] wrote: Is there a way to get a smoothly scaled-up image? That is, if s is sand and w water: www wss sss I don't want the above data to turn into 10x10 blocks of sand and water, but some kind of smooth diagonal. You want the scale2x algorithm and its friends: