Go back
My new GPL'd Chess Training SW

My new GPL'd Chess Training SW

Only Chess

d

Joined
30 Jan 04
Moves
1633
Clock
20 Apr 04
Vote Up
Vote Down

Well, in my desire to give something back to the RHP community, I've put together some training software and made it available via Java Web Start at http://www.kerr-kappe.com/chess

Depending on what Russ says, I may take off some of the promo's for RHP, but the program itself will pretty much stay the same.

What is it? It teaches chess visualization by drilling you on

1) Remembering what color a particular square is.
2) Being able to tell if two squares are the same color.
3) Being able to tell if two (or three) squares are on the same diagonal.
4) Being able to tell if two squares are a knight move apart.
5) Being able to tell if two squares are two knight moves apart.
6) Being able to tell if a simple position is checkmate (e.g. Black Kh1, Be3, White Kg3, Re1? Answer: no. Be3-g1 blocks.
7) Letting you play against a weak chess program (called Vince 😛) and allowing you to lag the display (board shows the position 0-7 ply ago) and/or blocking out 0-4 quadrants of the board. Vince is weak, so you should beat him like a drum.

Has online help. Please try it and tell me what you think. I will work on cleaning up the code and releasing it ASAP.

DJK

B

London

Joined
15 Aug 03
Moves
1784
Clock
21 Apr 04
Vote Up
Vote Down

Looked good to me. I'm not going to say it's the most fun way of improving your chess but I've heard this sort of exercise is very useful if you're serious about improving.

On a java note I've written a few apps myself and it looked pretty good to me although I might not use that tabbed pane to swap between parts of the program. At some point I got a message telling me which exception I'd caused. That wouldn't be so useful to someone who isn't a computer geek.

Thanks and respect for GPL'ing it.

d

Joined
30 Jan 04
Moves
1633
Clock
21 Apr 04
Vote Up
Vote Down

Originally posted by BadBishop

On a java note I've written a few apps myself and it looked pretty good to me although I might not use that tabbed pane to swap between parts of the program. At some point I got a message telling me which exception I'd caused. That wouldn't be so useful to someone who isn't a computer geek.
I'm not a big tabbed pane fan myself, but I didn't want the "big window o' forms" or a menu selectapalooza. You have any suggestions?

I did work out a few bugs today (added an opening book and fixed a bad move sort routine, among other things).

Can you remember what the exception was? Some day I'll build in a bug report facility, but until that time...

As for the fun part, I kind of dig these excercises. There's nothing cooler than reading a game in the paper and being able to follow along in your head.

B

London

Joined
15 Aug 03
Moves
1784
Clock
22 Apr 04
Vote Up
Vote Down

Exactly, it's good to be able to follow stuff in your head but actually doing the exercises isn't the fun part.

Some sort of wizard set up might work out ok where you can move forwards and backwards through the exercises. Maybe also jump to the one you want by menu?

d

Joined
21 Feb 04
Moves
18112
Clock
24 Apr 04
Vote Up
Vote Down

Sweet.

Standard algebraic would be nice for the chess opponent, but otherwise this is a pretty good training tool. I could see adding in a mate in one drill too.

Nice work.

d

Joined
30 Jan 04
Moves
1633
Clock
25 Apr 04
Vote Up
Vote Down

Originally posted by dscp
Sweet.

Standard algebraic would be nice for the chess opponent, but otherwise this is a pretty good training tool. I could see adding in a mate in one drill too.

Nice work.
Thanks. SAN will have to wait for another day. I've added a move list, so you can go back and see what moves were playes. Mate-in-1 and 2 are in the works.

Any other suggestions?

t
Xebite

in front of you

Joined
06 Jan 03
Moves
17429
Clock
26 Apr 04
Vote Up
Vote Down

perhaps you should anounce all this in the developpers forum?
th

A
Drunken Shogun

on Satan's fork

Joined
22 Feb 04
Moves
35380
Clock
26 Apr 04
Vote Up
Vote Down

Originally posted by dkappe
Well, in my desire to give something back to the RHP community, I've put together some training software and made it available via Java Web Start at http://www.kerr-kappe.com/chess

Depending on what Russ says, I may take off some of the promo's for RHP, but the program itself will pretty much stay the same.

What is it? It teaches chess visualization b ...[text shortened]... and tell me what you think. I will work on cleaning up the code and releasing it ASAP.

DJK
this is way sweet - I've been looking for something like this thanks 🙂

prn

Muncie, IN

Joined
20 Jan 04
Moves
7276
Clock
27 Apr 04
Vote Up
Vote Down

It sounds interesting, but I couldn't launch it (using either Opera 7 or Netscape 7.1, and I do have java) so I saved the jar file and tried to run it with the recommended command line: "java -jar cvt.jar" but got the following error messages:


Exception in thread "main" java.lang.NoSuchFieldError: WHITE
at com.imaginot.swing.Splash.showSplash(Splash.java:45)
at com.imaginot.chess.ChessVisualizationTrainer.Main(ChessVisualizationTrainer.java:68)


Regards,
Paul

d

Joined
30 Jan 04
Moves
1633
Clock
28 Apr 04
Vote Up
Vote Down

Originally posted by prn
It sounds interesting, but I couldn't launch it (using either Opera 7 or Netscape 7.1, and I do have java) so I saved the jar file and tried to run it with the recommended command line: "java -jar cvt.jar" but got the following error messages:


Exception in thread "main" java.lang.NoSuchFieldError: WHITE
at com.imaginot.swing.Splash.show ...[text shortened]... .ChessVisualizationTrainer.Main(ChessVisualizationTrainer.java:68)


Regards,
Paul
Wierd. Which version of the JVM are you using? The "WHITE" in the splash screen refers to the background color (Color.WHITE) which I think would be a public final static filed (i.e. a constant) in pre-1.4 jvm's.

S
Shut Gorohoviy!

Joined
19 May 03
Moves
14164
Clock
28 Apr 04
Vote Up
Vote Down

Originally posted by thire
perhaps you should anounce all this in the developpers forum?
th
I think that forum got deleted........

t
Xebite

in front of you

Joined
06 Jan 03
Moves
17429
Clock
28 Apr 04
Vote Up
Vote Down

Originally posted by SirLoseALot
I think that forum got deleted........
no. defenitely not 🙄
go to http://www.redhotpawn.com/board/threadlist.php?forumid=17
th

prn

Muncie, IN

Joined
20 Jan 04
Moves
7276
Clock
28 Apr 04
Vote Up
Vote Down

Originally posted by dkappe
Wierd. Which version of the JVM are you using?
java -version produces

java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)


Do I need a more recent one?
Paul

d

Joined
21 Feb 04
Moves
18112
Clock
29 Apr 04
1 edit
Vote Up
Vote Down

Originally posted by prn
java -version produces

java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)


Do I need a more recent one?
Paul
Yeah. 1.4.2 is optimal. I had to update mine from 1.3.1_01.

d

Joined
30 Jan 04
Moves
1633
Clock
29 Apr 04
Vote Up
Vote Down

Originally posted by prn
java -version produces

java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)


Do I need a more recent one?
Paul
It was developed and tested with 1.4+.

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.