[racket-dev] multiple key-press

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Thu Jul 22 09:43:01 EDT 2010

On Thu, Jul 22, 2010 at 7:38 AM, Shriram Krishnamurthi <sk at cs.brown.edu> wrote:
>> As far as I know, at the lowest level there is no "multiple key press"
>> event even in the OS.
>
> Yes, that's why I had scare-quotes in my message.
>
>> If they want to do that, they should change their world to record the
>> "current key press state":
>
> I told them that.  But the problem is that inversion of control makes
> the world structure and its logic *significantly* uglier.

We could change world/universe to automatically do this batching of
key presses and have an "interaction-rate" similar to the "tick-rate".
I'm not sure THAT would be much better, but it would be less tedious,
etc.

Jay

>
>> I have considered this issue. I decided that these kinds of kids
>> should be introduced to Universe programs as opposed to World
>> programs. That's way cooler than silly one-keyboard games.
>
> Doom is "silly"?  Duke Nukem 3D is "silly"?
>
> Perhaps you do indeed know a great deal about games.  But perhaps you
> have a more limited understanding of your audience.
>
> Shriram
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay

"The glory of God is Intelligence" - D&C 93


Posted on the dev mailing list.