J-board - chess board written in JustBasic

Just BASIC Games
tsh73
Posts: 46
Joined: Fri May 04, 2007 12:03 pm

J-board - chess board written in JustBasic

Post by tsh73 »

v.1.00
playable, brainless, no check for valid moves.

The code is released under BSD type license. Basically, that means
"Do with code whatever you wish, but give a credit if use substantial part of it"
(see enclosed licence.txt)

For version 1.00:
Features that should work:
(+) Figures moved by drag'n'drop
(+) You can do pawn promotion, en passant capture and castling by drag'n'drop, too
(-) It does not chack validity of moves. There are some checks - you cannot
capture your piece for example - but otherwise you can make pretty wild moves.
(Wooden board would not check valid moves either ;) )
(+) BUT. Undo function (Action/Take move back) works. So you can always take
back your wild move ;)
(+) Save and load position work. Position saved in standard FEN notation...
(-) ... almost (castling availability always set as "full" (KQkq) and number of
halfmoves since last capture/pawn move always set to 0)
(+) There is "Actions/Flip board" option that works. Even if noone will use it ;)
(actually supposed to be used then playing black against computer)
(+) There is "Move list" window. Wikipedia calls that notation "Reversible Algebraic".
(-) Moves are not saved with position
You do not have the required permissions to view the files attached to this post.
cassiope01
Posts: 56
Joined: Sat Jun 06, 2009 7:27 am
Location: FRANCE, Montpellier

Post by cassiope01 »

Concerning our last discussion http://justbasic.conforums.com/index.cg ... 1292085799, just some set of pieces found on web, but i'm afraid a too big job to create sprites...!

@+
You do not have the required permissions to view the files attached to this post.
tsh73
Posts: 46
Joined: Fri May 04, 2007 12:03 pm

Re: J-board - chess board written in JustBasic

Post by tsh73 »

v 1.02
From release notes:
For version 1.01:
Compose mode added
Drag'n'drop moves pieces
RightMouseButton menu allows delete/add piece
Also there is ClearBoard and ResetBoard commands.
After you done, switch to Play Mode

For version 1.02:
Added export to Chass2 format (developed on JB forum)
You do not have the required permissions to view the files attached to this post.
tsh73
Posts: 46
Joined: Fri May 04, 2007 12:03 pm

Re: J-board - chess board written in JustBasic

Post by tsh73 »

From the release notes:
For version 1.03:
Added import to Chess2 format (developed on JB forum)

For version 1.04:
Export and import changed to Chess2.5 format (faster version)

Hopefully now you can save position from Chess 2.5, import it, change it here, export and load back.
You do not have the required permissions to view the files attached to this post.
tsh73
Posts: 46
Joined: Fri May 04, 2007 12:03 pm

Re: J-board - chess board written in JustBasic

Post by tsh73 »

fixed exporting "extra pieces" situation (two queens then pawn promoted)
You do not have the required permissions to view the files attached to this post.