3D Chess 2K18

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

3D Chess 2K18

Post by arkannoyed » Wed Jun 20, 2018 3:29 pm

So, after a year or so of pretty much ignoring this, I've decided to have another go at it. Roughly 2 weeks of fiddling around with a few ideas has resulted in very slightly re-designed graphics that allow better compression. An all new core routine and a totally new data structure allowing for a lot more innovation and customisation to come hopefully.

Anyway, version 1 bottomed out at 722 bytes, which I was actually fairly happy with, but just had a constant feeling that I could do considerably better.

So, version 2 pops its head up weighing in at a miserly 667 bytes!

Not only is it 55 bytes smaller so far, but its over twice as fast!

Feast you eyes on this;

Image
11 x

User avatar
Spud
Microbot
Posts: 160
Joined: Sun Nov 12, 2017 8:50 pm

Re: 3D Chess 2K18

Post by Spud » Wed Jun 20, 2018 5:14 pm

That looks fantastic! What is the goal, to have an actual game?
0 x

Ralf
Dynamite Dan
Posts: 1112
Joined: Mon Nov 13, 2017 11:59 am
Location: Poland

Re: 3D Chess 2K18

Post by Ralf » Wed Jun 20, 2018 5:33 pm

Aren't black queen and king switched in places? ;)
0 x

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

Re: 3D Chess 2K18

Post by arkannoyed » Wed Jun 20, 2018 6:31 pm

Perhaps they should be. Fortunately an easy fix!

I promise it will one day become a fully playable game, somehow! :?
0 x

User avatar
Juan F. Ramirez
Dynamite Dan
Posts: 1655
Joined: Tue Nov 14, 2017 6:55 am
Location: Málaga, Spain

Re: 3D Chess 2K18

Post by Juan F. Ramirez » Wed Jun 20, 2018 7:03 pm

Looks nice. Keep up the good work!
0 x

User avatar
Pegaz
Manic Miner
Posts: 233
Joined: Mon Nov 13, 2017 1:44 pm

Re: 3D Chess 2K18

Post by Pegaz » Wed Jun 20, 2018 7:35 pm

This fantastic 3D chess set deserves to get its own engine and become a full chess game.
Amazing programming skills, you really did a great job arkannoyed, well done!
Due to the low memory consumption, I recommend keeping this style and that the full version remains compatible with Spectrum 16k.
1 x

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

Re: 3D Chess 2K18

Post by arkannoyed » Thu Jun 21, 2018 7:24 am

It is pretty much just a display engine, that in theory with very little alteration, could display the board from any chess playing game.

As has been discussed in detail before, partly on WOS, the control and piece selection is always going to be something that makes or breaks any system. I did get some way into a system in version 1, but because it was such a slow beast, it never really worked. This however is a lot faster, and just might allow for some more slick and responsive control. Being isometric, I'm favoring some system where the board alters to indicate what piece/ square is selected.

But, before any of that, I've much work to do to decrease the size of this, add extra compression and speed and tidy it up generally.

As for 16k compatibility, that was always my intention. This version runs almost anywhere and though not fully relocatable, can be compiled to run from a lot of locations. Also, it doesn't use any additional memory for storing anything other than creating a 64 byte chess board table, which again can be put in may different locations, even in the lower part of the screen if the ATTRs were to hide it for instance.
1 x

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

Re: 3D Chess 2K18

Post by arkannoyed » Thu Jun 21, 2018 12:06 pm

Oh my! Its now 666 bytes, that can't be good! :shock:

Edit: Phew 665 now!
1 x

User avatar
Spud
Microbot
Posts: 160
Joined: Sun Nov 12, 2017 8:50 pm

Re: 3D Chess 2K18

Post by Spud » Thu Jun 21, 2018 3:14 pm

Are you able to display an image with the pieces in different places, as if it was half way through a game?
0 x

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

Re: 3D Chess 2K18

Post by arkannoyed » Thu Jun 21, 2018 3:22 pm

Yes, any placement suggestions?
0 x

Post Reply