3D Chess 2K18

The place for codemasters or beginners to talk about programming any language for the Spectrum.
User avatar
arkannoyed
Manic Miner
Posts: 310
Joined: Mon Feb 05, 2018 9:56 am

Re: 3D Chess 2K18

Post by arkannoyed » Fri Feb 15, 2019 2:43 pm

No rest....another -4 bytes this time shaved off the base part, and surprisingly, well in my opinion anyway, makes it look better.

Now at 547 bytes = 508

Image
1 x

User avatar
arkannoyed
Manic Miner
Posts: 310
Joined: Mon Feb 05, 2018 9:56 am

Re: 3D Chess 2K18

Post by arkannoyed » Fri Feb 15, 2019 3:17 pm

I am interested to know if the source makes an sense to anyone perhaps more familiar with source code listings?

I generally comment mine extremely badly or not at all. I'm probably not alone in the fact that when you write something, it reads just fine to you without lengthy explanations. I do appreciate however, that the older I get, the more helpful the comments are when I revisit some past projects.

If any parts do need further explanation, then I will oblige of course.
0 x

User avatar
arkannoyed
Manic Miner
Posts: 310
Joined: Mon Feb 05, 2018 9:56 am

Re: 3D Chess 2K18

Post by arkannoyed » Fri Feb 15, 2019 4:52 pm

.TAP file to load and mess with.

https://dl.dropbox.com/s/ud9urfxww0giq7 ... a.tap?dl=1

Small 'cheat' added in the basic loader to swap the White king and queen for now. Will be fixed very soon, promise! :D
0 x

User avatar
Ast A. Moore
Dynamite Dan
Posts: 1007
Joined: Mon Nov 13, 2017 3:16 pm

Re: 3D Chess 2K18

Post by Ast A. Moore » Fri Feb 15, 2019 8:14 pm

arkannoyed wrote:
Fri Feb 15, 2019 3:17 pm
when you write something, it reads just fine to you without lengthy explanations. I do appreciate however, that the older I get, the more helpful the comments are when I revisit some past projects.
In my case, if I don’t comment everything like I’m explaining to a child, I tend to forget what I do in about a week if I’m lucky. Usually, though, I can’t recognize my own routines and optimizations about two days later, if I don’t comment them.
0 x
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.

KayBee
Berk
Posts: 15
Joined: Thu May 31, 2018 2:14 pm

Re: 3D Chess 2K18

Post by KayBee » Tue Feb 19, 2019 2:09 am

This is stunning arkannoyed. If I could have two wishes, they would be:
1. Tie Peter Jennings 1k MicroChess to this beautiful interface.
2. tie the infamous 1k ZX chess to this beautiful interface.

I wish I wish.

KB
1 x

User avatar
arkannoyed
Manic Miner
Posts: 310
Joined: Mon Feb 05, 2018 9:56 am

Re: 3D Chess 2K18

Post by arkannoyed » Tue Feb 19, 2019 5:15 pm

Thanks.

Actually, all this is currently is a board display engine. It’ll display the results of any chess program provided the pieces have the correct codes and it’s based upon a 64 byte board. An interpreter interface could also be used to substitute piece codes though. I will be moving on to the actual game logic eventually. A few more ideas to save more space first though!
0 x

AndyC
Manic Miner
Posts: 224
Joined: Mon Nov 13, 2017 5:12 am

Re: 3D Chess 2K18

Post by AndyC » Tue Feb 19, 2019 7:05 pm

I'm sticking with my earlier assertion that this is witchcraft. Any sufficiently advanced technology is indistinguishable from magic after all.

The mind boggles at how you've done so much in so little. Genuine genius.
1 x

User avatar
arkannoyed
Manic Miner
Posts: 310
Joined: Mon Feb 05, 2018 9:56 am

Re: 3D Chess 2K18

Post by arkannoyed » Tue Feb 19, 2019 7:46 pm

Fascinating read about Peter Jennings development of Microchess. The hand coding process is still alive in my case! I may well take a few pointers from the way it evaluates moves too.
0 x

User avatar
arkannoyed
Manic Miner
Posts: 310
Joined: Mon Feb 05, 2018 9:56 am

Re: 3D Chess 2K18

Post by arkannoyed » Tue Feb 19, 2019 7:49 pm

One change I am considering is to move all the pieces up 1 line to show more of the square it sits on. This would help with the GUI I’m considering. Any thoughts?
0 x

User avatar
arkannoyed
Manic Miner
Posts: 310
Joined: Mon Feb 05, 2018 9:56 am

Re: 3D Chess 2K18

Post by arkannoyed » Tue Feb 19, 2019 7:52 pm

AndyC wrote:
Tue Feb 19, 2019 7:05 pm
I'm sticking with my earlier assertion that this is witchcraft. Any sufficiently advanced technology is indistinguishable from magic after all.

The mind boggles at how you've done so much in so little. Genuine genius.
Well the source code is there, have a go at deciphering it. It is surprisingly straightforward. It’s far simpler than when it was 924 bytes.
0 x

Post Reply