[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Low-level vs. High-level programming (was My First Computer)
- Subject: Re: Low-level vs. High-level programming (was My First Computer)
- From: "Tjoff Tjonk" <tjoff@tjonk.now>
- Date: Fri, 20 Jun 2003 23:17:43 +0200
- Newsgroups: comp.sys.cbm, comp.sys.apple2, rec.games.video.classic, comp.os.cpm
- Organization: A customer of B2 Bredbandsbolaget (www.bredband.com)
- References: <pan.2003.06.18.19.07.35.727341@tjonk.now> <4j3Ia.220$nx5.98@fe05.atl2.webusenet.com> <5d74e548fd4ac6b8f010490da3556caf@TeraNews> <Xns939F77BBA463Dwildstar128hotmailco@216.168.3.44> <bcuhk7$1elo$1@merope.saaf.se> <Xns93A0769B19F95wildstar128hotmailco@216.168.3.44>
- User-agent: Pan/0.13.4 (She had eyes like strange sins.)
- Xref: archiver1.google.com comp.sys.cbm:58895 comp.sys.apple2:31594 rec.games.video.classic:59124 comp.os.cpm:13372
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.