3D Chess 2K18

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

Re: 3D Chess 2K18

Post by arkannoyed » Thu May 09, 2019 1:51 pm

When I've integrated the GUI, you should be able to just set BIT 7 of all the board squares and when you build it, they will all be grey, ok?
0 x

d2010
Dizzy
Posts: 72
Joined: Tue Mar 26, 2019 9:19 am

Re: 3D Chess 2K18

Post by d2010 » Thu May 09, 2019 2:20 pm

arkannoyed wrote:
Thu May 09, 2019 1:51 pm
When I've integrated the GUI, you should be able to just set BIT 7 of all the board squares and when you build it, they will all be grey, ok?
Yes,yes **
I do not need exactly grey-color, I need any texture (BIN 101001010), or (BIn 1100110011) of board-color-black.
The texture is mix 11--00-pixels inside the byte...i replay to you at PM.
First Step you. make easiest tasks , send to private message... :|
Second Task,only if you can make texture-board-game.
then you inject :!: hard-task.
0 x

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

Re: 3D Chess 2K18

Post by arkannoyed » Thu May 09, 2019 3:23 pm

d2010 wrote:
Thu May 09, 2019 2:20 pm
arkannoyed wrote:
Thu May 09, 2019 1:51 pm
When I've integrated the GUI, you should be able to just set BIT 7 of all the board squares and when you build it, they will all be grey, ok?
Yes,yes **
I do not need exactly grey-color, I need any texture (BIN 101001010), or (BIn 1100110011) of board-color-black.
The texture is mix 11--00-pixels inside the byte...i replay to you at PM.
First Step you. make easiest tasks , send to private message... :|
Second Task,only if you can make texture-board-game.
then you inject :!: hard-task.
......anyone? :?
0 x

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

Re: 3D Chess 2K18

Post by Pegaz » Thu May 09, 2019 3:35 pm

Maybe I'm wrong, but I think he wants any kind of checkered pattern, instead of solid black fields on board.
0 x

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

Re: 3D Chess 2K18

Post by arkannoyed » Thu May 09, 2019 3:40 pm

I just about got that much, but all this talk of Cheats and pokes! This is a highly tuned piece of procedural graphics work, that doesn't poke well! :D

Shaded squares will be available further down the line. More testing and experiments are being conducted at the moment, along with saving more bytes from the core.
0 x

reeagbo
Berk
Posts: 38
Joined: Mon Apr 29, 2019 8:11 am

Re: 3D Chess 2K18

Post by reeagbo » Thu May 09, 2019 3:51 pm

Einar Saukas wrote:
Fri May 03, 2019 11:51 am
arkannoyed wrote:
Fri May 03, 2019 11:20 am
A DEFB is all ok from an assembler point of view for a one off game, but to copy 32 bytes of data and clearing the board would still be bigger. As its going to be replayable, it needs a board reset routine.
I know.

I was suggesting DEFB for chesSkelet only, since it doesn't clear the board and it's not replayable.
Yes, that's the case for Chesskelet: DEFB board setup. With my routine, I was trying to give some ideas, but Arkannoyed has something at least as small as that routine.
0 x

reeagbo
Berk
Posts: 38
Joined: Mon Apr 29, 2019 8:11 am

Re: 3D Chess 2K18

Post by reeagbo » Thu May 09, 2019 3:56 pm

Einar Saukas wrote:
Fri May 03, 2019 4:38 pm
On another subject...

The classic 1K Chess by David Horne was never intended to be the SMALLEST POSSIBLE chess. It was the opposite. The author was trying to PUT AS MUCH CONTENT AS POSSIBLE (full chess rules, good AI, etc) within the memory limitations of the original 1K ZX81.

David Horne wasn't saving bytes to make his program smaller. He was doing it so he could have enough room to improve AI logic, for instance.

Nowadays there are several even smaller chess programs (I mentioned a few here at the time). They are all certainly impressive, but their AI is typically so bad they are not fun to play.

Your 3D chess will never be smaller than those existing 2D versions anyway. Therefore I see no point in just adding a simplistic AI to the code you already have. Instead, I suggest your goal should be achieving the BEST POSSIBLE chess game in exactly 1K. Which means supporting 100% of chess rules, and the smartest possible AI you can fit.

It seems both chesSkelet and David Horne's 1K chess play better than others. I would first play a few rounds between them to compare AIs, then use the best players as starting point to implement yours...
That would be super-lovely. I totally respect 1K Chess. If anyone sees my chesSkelet website you can read that I think it's nearly impossible what he did with the 80's infra. Now, with emulators and all we can run programs 100 times per hour and see. I can't imagine how much time it would have taken for me to do chesSkelet in such conditions.

If you need any input from me to run those games, let me know.
1 x

User avatar
ZXDunny
Microbot
Posts: 189
Joined: Tue Nov 14, 2017 3:45 pm

Re: 3D Chess 2K18

Post by ZXDunny » Thu May 09, 2019 4:28 pm

d2010 wrote:
Thu May 09, 2019 2:20 pm
arkannoyed wrote:
Thu May 09, 2019 1:51 pm
When I've integrated the GUI, you should be able to just set BIT 7 of all the board squares and when you build it, they will all be grey, ok?
Yes,yes **
I do not need exactly grey-color, I need any texture (BIN 101001010), or (BIn 1100110011) of board-color-black.
The texture is mix 11--00-pixels inside the byte...i replay to you at PM.
First Step you. make easiest tasks , send to private message... :|
Second Task,only if you can make texture-board-game.
then you inject :!: hard-task.
You are Roger Jowett AICMFP.
0 x

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

Re: 3D Chess 2K18

Post by Pegaz » Thu May 09, 2019 4:48 pm

I thought the same for a moment when I saw his wierd video for the first time, but I still wanted to hope. ;)
At some point he had to come here, it was simply inevitable...
It's important that arkannoyed focuses on real challenges, not on gray board fields. :)
Later, when everything is done, he can do the SamCoupe port, especially for Roger. ;)
1 x

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

Re: 3D Chess 2K18

Post by arkannoyed » Fri May 10, 2019 4:01 pm

@d2010, is this what you wanted?

Image
1 x

Post Reply