Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Applying a score

Author: Dann Corbit

Date: 19:41:53 03/03/03

Go up one level in this thread


On March 03, 2003 at 22:25:23, John Wentworth2 wrote:

>As a beginner chess programmer, I am having trouble getting my mind wrapped
>around evaluating any given chess position. Seems like there must be an endless
>amount of factors when applying a score to a potential move.
>
>
>Knights in the center are worth more than on the outside edges
>
>Assign a penalty for doubled pawns,tripled pawns
>
>Allowing pins to take place gets a penalty
>
>Causing a pin gets rewarded
>
>Penalty for exposing the King to attack
>
>Reward for castling etc. etc.
>
>
>Do most programs have a list similiar to this? How many factors are there?

Some programs have dozens or even hundreds of terms.  Start with just counting
the wood, and then add to it.

Here are the 113 terms that the user can modify in Beowulf (an upper-middle
level chess program):

5 ; avoid_null_mat
3 ; avoid_null_pieces
4 ; avoid_raz_num
5 ; back_rank_unsafe
4 ; backward_pawn_1
8 ; backward_pawn_2
18 ; backward_pawn_3
25 ; bishop_enprise
10 ; bishop_pinned
325 ; bishop_score
4 ; bishop_trapped
3 ; block_pawns
3 ; centre_pawn_bonus
8 ; check_extend
6 ; cmthreat_extend
5 ; connected_rooks
30 ; dangerous_pp
4 ; defended_pawn
4 ; defended_q_attack
500 ; delta_level
12 ; doubled_pawns
10 ; doubled_pawns_iso
8 ; doubled_rooks
0 ; draw_score
4 ; drive_away_long
7 ; drive_away_short
8 ; early_queen
2 ; early_queen_penalty
4 ; early_rook_penalty
150 ; eval_futility
150 ; extra_minor
50 ; game_length
4 ; half_open_file
2 ; half_open_file_k
3 ; half_open_file_q
5 ; hostile_blockade
56 ; ignore_zugzwang
18 ; isolated_pawn
8 ; king_safety
4 ; king_tropism
25 ; knight_enprise
10 ; knight_pinned
320 ; knight_score
20 ; knight_trapped
3 ; late_queen_bonus
30 ; lone_queen
40 ; loss_scale
4 ; max_extend
8 ; max_qui
30 ; min_left
6 ; no_centre_pawns
25 ; no_king_threat
5 ; no_pawns
8 ; onereply_extend
6 ; open_file
4 ; open_file_k
4 ; open_file_q
12 ; overstretched
2 ; pawn_block
4 ; pawnpush_extend
4 ; piece_blockade
6 ; pp_attacked
20 ; pp_storm
14 ; queen_7th_rank
3 ; queen_attack
10 ; queen_attack_def
60 ; queen_enprise
5 ; queen_immobile
5 ; queen_mobile
80 ; queen_occupied
35 ; queen_pinned
930 ; queen_score
4 ; queen_trapped
100 ; razor_harsh
0 ; razor_margin
25 ; razor_scale
4 ; recap_extend
2 ; revcheck_extend
8 ; reward_castle
16 ; rook_7th_rank
4 ; rook_attack
16 ; rook_behind_pp
3 ; rook_blocked
8 ; rook_boxed_in
40 ; rook_enprise
50 ; rook_occupied
15 ; rook_pinned
500 ; rook_score
30 ; rook_trapped
4 ; shield_one
2 ; shield_two
8 ; shield_zero
3 ; side_attack
8 ; space_defended
4 ; space_won
8 ; spoilt_castle_1
6 ; spoilt_castle_2
15 ; two_bishops
12 ; undeveloped
400 ; unstoppable_pp
1 ; use_delta
1 ; use_eval_sc
1 ; use_hash
1 ; use_history
1 ; use_iid
1 ; use_killers
1 ; use_null
1 ; use_razoring
1 ; use_see
1 ; use_verification
1 ; use_window
150 ; v_dangerous_pp
29 ; window



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.