Reply
 
LinkBack Thread Tools Display Modes
  #1   Report Post  
Old September 6th 06, 11:14 PM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: Aug 2006
Posts: 58
Default POS 1.0

Hi,

I would like to announce my chess-engine.
It is written in Java 5. It doesn't use any regular techniques like the
shannon algorithm, it is more an experiment of some algorithms I made up.
It is compatible with xboard.
http://www.vanheusden.com/pos/
All comments are welcome.
I know already of a bug (it castles even when it is check) which will be
fixed quiet soon.


Folkert
  #2   Report Post  
Old September 7th 06, 12:01 AM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: May 2006
Posts: 264
Default POS 1.0

Folkert van Heusden wrote:

I would like to announce my chess-engine.
All comments are welcome.


1. c4 a5 2. d4 Ra6 3. e4 Re6 4. Nc3 a4 5. d5 a3 6. dxe6 axb2 7. exf7+
Kxf7 8. Bxb2 b5 9. cxb5 c5 10. bxc6 Qa5 11. cxd7 e5 12. dxc8=Q Bb4 13.
Bc4+ Qd5 14. Qxd5+ Kf6 15. Qf5+ Ke7 16. Qff7#

On the strong side, your engine loaded and quickly played legal moves.
It handled promotion and en-passant capture with no problems. That's a
good accomplishment for the first iteration of a chess program.

On the weak side, well, it was a massacre. On turn 5, it left a rook
hanging. On turn 8-11, it allowed my c-pawn to capture up the board and
promote. I'm around USCF 1600, and I think your program is USCF 800.

What does POS stand for, and how can I play as Black?

---
Become a Chess Expert
http://likesforests.blogspot.com/

  #3   Report Post  
Old September 7th 06, 12:19 AM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: May 2006
Posts: 264
Default POS 1.0

wrote:
Folkert van Heusden wrote:

I would like to announce my chess-engine.
All comments are welcome.


1. c4 a5 2. d4 Ra6 3. e4 Re6 4. Nc3 a4 5. d5 a3 6. dxe6 axb2 7. exf7+
Kxf7 8. Bxb2 b5 9. cxb5 c5 10. bxc6 Qa5 11. cxd7 e5 12. dxc8=Q Bb4 13.
Bc4+ Qd5 14. Qxd5+ Kf6 15. Qf5+ Ke7 16. Qff7#

On the strong side, your engine loaded and quickly played legal moves.
It handled promotion and en-passant capture with no problems. That's a
good accomplishment for the first iteration of a chess program.

On the weak side, well, it was a massacre. On turn 5, it left a rook
hanging. On turn 8-11, it allowed my c-pawn to capture up the board and
promote. I'm around USCF 1600, and I think your program is USCF 800.

What does POS stand for, and how can I play as Black?


Knowing that your program is tactically weak, I played sharply:

1. e4 a5 2. Bc4 a4 3. Qf3 a3 4. Qxf7#

Ouch!

---
Become a Chess Expert
http://likesforests.blogspot.com/

  #4   Report Post  
Old September 7th 06, 03:11 AM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: Jul 2006
Posts: 625
Default POS 1.0

* (01:19) schrieb:

Knowing that your program is tactically weak, I played sharply:

1. e4 a5 2. Bc4 a4 3. Qf3 a3 4. Qxf7#


I got a lame engine too, POS playing white:

1. Nf3 Na6 2. Nc3 Rb8 3. Nh4 Ra8 4. Na4 Rb8 5. Nf5 Ra8 6. Nd4 Rb8
7. Nb3 Ra8 8. Nd4 Rb8 9. Nf3 Ra8 10. Ng5 Rb8 11. Ne6 dxe6 12. Rg1 Ra8
13. Nc5 Nxc5 14. h4 Rb8 15. h5 Ra8 16. Rh1 Rb8 17. Rg1 Ra8 18. Rb1 Qd5
19. Rh1 Qxa2 20. Rh3 Na6 21. Rb3 Qxb1 22. Rh3 Nb4 23. Rc3 Na2 24. Ra3 Nxc1
25. Qxc1 Qxc1#

Note all these Rook moves. :-)

mfg, simon ... l
  #5   Report Post  
Old September 7th 06, 05:59 AM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: May 2006
Posts: 264
Default POS 1.0

Simon Krahnke wrote:

1. Nf3 Na6 2. Nc3 Rb8 3. Nh4 Ra8 4. Na4 Rb8 5. Nf5 Ra8 6. Nd4 Rb8
7. Nb3 Ra8 8. Nd4 Rb8 9. Nf3 Ra8 10. Ng5 Rb8 11. Ne6 dxe6 12. Rg1 Ra8
13. Nc5 Nxc5 14. h4 Rb8 15. h5 Ra8 16. Rh1 Rb8 17. Rg1 Ra8 18. Rb1 Qd5
19. Rh1 Qxa2 20. Rh3 Na6 21. Rb3 Qxb1 22. Rh3 Nb4 23. Rc3 Na2 24. Ra3 Nxc1
25. Qxc1 Qxc1#


Note all these Rook moves. :-)


Funny! I thought they might draw, with White jumping his knights in
circles while Black shifted its rook between g1 and h1. The key blunder
was 11.Ne6, hanging a knight and breeching Black's pawn wall... which
freed Black's powerful queen to attack!



  #6   Report Post  
Old September 7th 06, 10:10 AM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: Aug 2006
Posts: 58
Default POS 1.0

I would like to announce my chess-engine.
All comments are welcome.

1. c4 a5 2. d4 Ra6 3. e4 Re6 4. Nc3 a4 5. d5 a3 6. dxe6 axb2 7. exf7+
Kxf7 8. Bxb2 b5 9. cxb5 c5 10. bxc6 Qa5 11. cxd7 e5 12. dxc8=Q Bb4 13.
Bc4+ Qd5 14. Qxd5+ Kf6 15. Qf5+ Ke7 16. Qff7#
On the strong side, your engine loaded and quickly played legal moves.
It handled promotion and en-passant capture with no problems. That's a
good accomplishment for the first iteration of a chess program.


Thank you! And thanks for trying.

On the weak side, well, it was a massacre. On turn 5, it left a rook
hanging. On turn 8-11, it allowed my c-pawn to capture up the board and
promote. I'm around USCF 1600, and I think your program is USCF 800.


Yeah it needs some tweaking. The goal for this first version was to get it
to play only correct moves and such. It has some basic algorithms for
selecting moves but I need (and am going to) to enhance those.

What does POS stand for, and how can I play as Black?


Pos is a bit of a rude abbreviation. I had no idea what to name it so I
named it that. Playing with black is currently only possible when using
XBoard (or WinBoard).


Folkert.
  #7   Report Post  
Old September 7th 06, 10:12 AM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: Aug 2006
Posts: 58
Default POS 1.0

Knowing that your program is tactically weak, I played sharply:
1. e4 a5 2. Bc4 a4 3. Qf3 a3 4. Qxf7#


I got a lame engine too, POS playing white:
1. Nf3 Na6 2. Nc3 Rb8 3. Nh4 Ra8 4. Na4 Rb8 5. Nf5 Ra8 6. Nd4 Rb8
7. Nb3 Ra8 8. Nd4 Rb8 9. Nf3 Ra8 10. Ng5 Rb8 11. Ne6 dxe6 12. Rg1 Ra8
13. Nc5 Nxc5 14. h4 Rb8 15. h5 Ra8 16. Rh1 Rb8 17. Rg1 Ra8 18. Rb1 Qd5
19. Rh1 Qxa2 20. Rh3 Na6 21. Rb3 Qxb1 22. Rh3 Nb4 23. Rc3 Na2 24. Ra3 Nxc1
25. Qxc1 Qxc1#


Hmmm, not an expert he am I right that POS won?
Does your engine have a web-page?

Note all these Rook moves. :-)


Yeah it really enjoys doing those :-)
  #8   Report Post  
Old September 7th 06, 10:41 AM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: Jun 2006
Posts: 11
Default POS 1.0

Well,
for now your program does not play chess. It just plays chess moves. I'm
suspicious, that it chooses moves randomly, but captures first. Am I right?
This is how my experimental program (about GNUchess level) plays in the
openings as black with your experimental program (no books used):
1. Nf3 Nf6 2. Nh4 Nc6 3. Nf3 d5 4. Ng1 {wrong knight?} Bg4 5. Na3 {choose
another one!} e5 6. Nf3 e4 7. Nd4 {suicide...} Nxd4
8. Nc4 dxc4 9. Rb1 Bf5 10. Rg1 e3 11. Rh1 Nxc2+ 12. Qxc2 Bxc2 13. Rg1 Ne4
14. h3 exf2#

Also 1. e4 a5 2. Bc4 a4 3. Qf3 a3 4. Qxf7# - is a good test to verify
your approaches and experiments.
Why don't your program support Java 1.3?

Alex

"Folkert van Heusden" wrote in message
...
Hi,

I would like to announce my chess-engine.
It is written in Java 5. It doesn't use any regular techniques like the
shannon algorithm, it is more an experiment of some algorithms I made up.
It is compatible with xboard.
http://www.vanheusden.com/pos/
All comments are welcome.
I know already of a bug (it castles even when it is check) which will be
fixed quiet soon.


Folkert



  #9   Report Post  
Old September 7th 06, 11:34 AM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: Aug 2006
Posts: 58
Default POS 1.0

I would like to announce my chess-engine.
It is written in Java 5. It doesn't use any regular techniques like the
shannon algorithm, it is more an experiment of some algorithms I made up.


Well,
for now your program does not play chess. It just plays chess moves. I'm
suspicious, that it chooses moves randomly, but captures first. Am I
right?


Nope. That is: it uses random as a last resort, but that happens seldom. You
can disable that totally by setting the xboard/winboard init-string for my
engine to only 'new' (instead of 'new' + 'random').

This is how my experimental program (about GNUchess level) plays in
the openings as black with your experimental program (no books used):
1. Nf3 Nf6 2. Nh4 Nc6 3. Nf3 d5 4. Ng1 {wrong knight?} Bg4 5. Na3 {choose
another one!} e5 6. Nf3 e4 7. Nd4 {suicide...} Nxd4
8. Nc4 dxc4 9. Rb1 Bf5 10. Rg1 e3 11. Rh1 Nxc2+ 12. Qxc2 Bxc2 13. Rg1 Ne4
14. h3 exf2#
Also 1. e4 a5 2. Bc4 a4 3. Qf3 a3 4. Qxf7# - is a good test to verify
your approaches and experiments.


ok thanks.

Why don't your program support Java 1.3?


Because it uses, for example, constructions like:
ListMove moves = new ArrayListMove();
which is new for java 5. I chose to program for java 5 as my employer wants
me to get certified for java 5; developing this program is also more or
less a way for learning java 5.


Folkert
  #10   Report Post  
Old September 7th 06, 12:49 PM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: Jun 2006
Posts: 11
Default POS 1.0

I checked again. POS 1.0 works with Java 1.3.1 fine. It was something in
command line specification I think. Java templates don't have any additions
to Java VM specification and don't add anything new to bytecodes. So POS is
compatible with at least Java VM 1.3. While compilation by javac will
require Java 1.5.

"Folkert van Heusden" wrote in message
...
Why don't your program support Java 1.3?


Because it uses, for example, constructions like:
ListMove moves = new ArrayListMove();
which is new for java 5. I chose to program for java 5 as my employer
wants
me to get certified for java 5; developing this program is also more or
less a way for learning java 5.


Folkert



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:49 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 ChessBanter.
The comments are property of their posters.
 

About Us

"It's about Chess"

 

Copyright © 2017