This is a temporary, read-only recovery of the chessprogrammingwiki while a longer-term plan is worked out. Editing is not possible right now, but will be again soon.
Chess Programming Wiki All pages Other namespaces

Wing

Home * Engines * Wing

Forces acting on a wing 1Forces acting on a wing 1


  1. Forces acting on a wing, thrust, lift, drag, and weight, Image by Bartosz Kosiorek, Bird flight from Wikipedia, Wikimedia Commons↩︎

Wing,
a WinBoard compliant chess engine by Stef Luijten written in C++, first released in October 2004. Initially influenced by Crafty 1, Wing was released as open source in December 2010 to demonstrate the basics of chess programming 2, shortly before Stef Luijten started his Winglet tutorial Writing a Chess Program in 99 Steps 3.

Contents
  1. Description
    1. Board Representation
    2. Search
      1. Selectivity
      2. Move Ordering
    3. Evaluation
  2. See also
  3. Forum Posts
  4. External Links
    1. Chess Engine
    2. Chess
    3. Misc
  5. References

Description

Board Representation

Wing is a bitboard engine and determines sliding piece attacks using rotated bitboards. The inner six bits optimization yields to four lookup tables of 64x64x8 bytes, that is 32-KiB each or 1/8 MiB in total for ranks, files, diagonals and anti-diagonals. Interestingly, this attack table layout was preserved in Winglet, when line-wise occupied states were rotated on the fly by magic multiplication and shift right.

Wing performs a negamax alpha-beta search with conditional compiled (default on) PVS inside the iterative deepening framework without aspiration windows. The recent version has a always replace transposition table using Zobrist keys, while earlier versions used an additional depth-preferred replacement table 4. As stated by its author in 2006, Wing has gained over 100 ELO points from adding history pruning 5, while the published sources lack LMR.

Selectivity

Move Ordering

Evaluation

Backward Pawn

Doubled Pawn

Isolated Pawn

Passed Pawn

Connected Passed Pawns

Pawn Shield

King Tropism

See also

Forum Posts

Chess Engine

Chess

Misc

Line-up: Thijs van Leer, Philip Catherine, Bert Ruiter, David Kemper

Watch on YouTube

References

Up one Level


  1. Chess Engine List from Ron Murawski's Computer-Chess Wiki↩︎

  2. Index of /chess/engines/Jim Ablett/WING by Jim Ablett, hosted by Kirill Kryukov↩︎

  3. Winglet, Writing a Chess Program in 99 Steps by Stef Luijten, hosted by the Wayback Machine↩︎

  4. Hash table hit rate by Stef Luijten, Winboard Forum, November 16, 2005↩︎

  5. Re: history pruning/ late move pruning by Stef Luijten, Winboard Forum, March 02, 2006↩︎

Categories: WinBoard · XBoard · Focus · Philip Catherine

What links here

Contributors: GerdIsenberg.