[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Low-level vs. High-level programming (was My First Computer)
In article <pan.2003.06.20.21.17.41.693608@tjonk.now>,
Tjoff Tjonk <tjoff@tjonk.now> wrote:
> On Fri, 20 Jun 2003 19:39:34 +0000, wildstar wrote:
>
>> Aren't you missing a key element. The balls X,Y coordiniation control.
>> When a ball is hits the right paddle the balls X-direction will change
>> from incrementing to decrementing. If it hit the left paddle then it
>> flips to incrementing. Understand. If you hit the top or bottom walls,
>> the balls Y direction flips. The key to Pong was that flip variable
>> controls in its programming. The ball either goes left or right and may
>> go also up or down or level (rather rare). HTML doesn't have the required
>> controls for this does it. This require data handling. Well handling and
>> processing the data in the variable. That is something not reasonably
>> possible with pure HTML.
>
> Just make a bunch of HTML pages - one for each combination of paddle and
> ball positions.
That's not enough: you'll need one HTML page for each combination
of paddle and ball positions AND velocities....
> It does not require anything else but the HTTP-refresh to make a playable
> game.
--
----------------------------------------------------------------
Paul Schlyter, Grev Turegatan 40, SE-114 38 Stockholm, SWEDEN
e-mail: pausch at stockholm dot bostream dot se
WWW: http://www.stjarnhimlen.se/
http://home.tiscali.se/pausch/