10= (TENNIS)

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
Post Reply
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

10= (TENNIS)

Post by dr beep »

I am working on a 1K tennisgame.

On screen you see the serve of the human player. Next when ball drops is to hit the ball.

Game started in 2021, but busy with a lot so now time to continue.
10=.png
10=.png (11.47 KiB) Viewed 1783 times
Progress will be shown here.

to do:
service player
return player

progressing AI computer

Scoring by net, out of field.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 10= (TENNIS)

Post by dr beep »

427 bytes still free
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 10= (TENNIS)

Post by dr beep »

Service is getting shape.

App 356 bytes free
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 10= (TENNIS)

Post by dr beep »

Ball in net added.
Ball out of field partly added (without bounce not yet)

AI computer is next.

app 320 bytes free
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 10= (TENNIS)

Post by dr beep »

Finally some progress.

Computer can almost do a serve. Scoring is now ok. Ball serve switches sides after score.

Still 263 bytes free
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 10= (TENNIS)

Post by dr beep »

Computer makes a serve, player can return.
Next to do: computer makes returnmove.

217 bytes left to code.

Gameplay is now already funny.
Definitely NOT another PONG-clone.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 10= (TENNIS)

Post by dr beep »

Finally some progress.

Added level AI, altered power of hitting, 2 bugs solved.

Stil 192 bytes free for better AI.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 10= (TENNIS)

Post by dr beep »

Gameplay is hard enough so I deleted hiting the ball in time. Now you can hit the ball when you press the right key,
not anymore 2 pixels before the player.

I must add extra AI for the computer, moving only.

Still 131 bytes free. Getting somewhere.
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 10= (TENNIS)

Post by dr beep »

YESS

10= is ready.

Now working on releasinfo.
Post Reply