Re: [racket] get-pixel

2010-11-30 Thread Stephen Bloch
Matthias Felleisen wrote: > Your programmer suffers from a major design flaw: you are conflating the > 'model' (what data is needed to keep track of the events in my game) with its > 'view' (how should the model be displayed on screen). Separate those two > aspects and your program will run li

Re: [racket] get-pixel

2010-11-30 Thread Matthias Felleisen
Your programmer suffers from a major design flaw: you are conflating the 'model' (what data is needed to keep track of the events in my game) with its 'view' (how should the model be displayed on screen). Separate those two aspects and your program will run like a bat out of hell fire. -- Matt

[racket] get-pixel

2010-11-30 Thread Sébastien Cano
Hi, I'm currently working on a Space Invaders, and I have an issue. When a laser is fired, get-pixeluses its coordinates to send the color of the pixel at these