[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Low-level vs. High-level programming (was My First Computer)



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. It does not require anything else but the HTTP-refresh to
make a playable game.