J-board - chess board written in JustBasic

Just BASIC Games
Post Reply
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
Attachments
J-board.zip
(42.43 KiB) Downloaded 607 times
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...!

@+
Attachments
CHESS parts.zip
(274.19 KiB) Downloaded 426 times
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)
Attachments
J-board 1.02.zip
(20.56 KiB) Downloaded 154 times
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.
Attachments
J-board 1.04.zip
(20.04 KiB) Downloaded 167 times
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)
Attachments
J-board 1.04.1.zip
(19.62 KiB) Downloaded 177 times
Post Reply