hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.7K
active users

#pongwars

0 posts0 participants0 posts today

I think it's finally actually done:

It's _so_ slow: the calculations take more than one frame per frame, so it runs at 30fps; this run is mostly taken at Warp speed emulation (10x). Much of that is because I kept BASIC running, to reuse its number output routines.

Somehow this ended up being 800 lines of assembly: gist.github.com/Two9A/8b2f1d6e

I'll find a few spare moments to write up articles on some of the subtleties, expect those in the coming ...months.

Bit late for but managed to scrape together a couple of hours today, so the adventure has started. I'm deeply out of practice... it's taken all that time and over a hundred lines of assembly just to get the empty playing field on screen.

From here, I need: the ball sprites, fixed-point positioning of same, "collision" with the edges and the other side's field, trigonometric reflection with a random offset, ...

There's a ways to go on this.