[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Low-level vs. High-level programming (was My First Computer)
"Tjoff Tjonk" <tjoff@tjonk.now> wrote in message
pan.2003.06.21.06.53.42.472189@tjonk.now">news:pan.2003.06.21.06.53.42.472189@tjonk.now...
> On Sat, 21 Jun 2003 06:49:15 +0000, Paul Schlyter wrote:
>
> > 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....
>
> Ah yes, you are right of course, thanks.
>
Actually, there were some early dedicated Pong units that seemed to only
have one ball speed.
Dane.