YaneuraOu

Home * Engines * YaneuraOu

YaneuraOu, (やねうら王, King Yaneura) an USI compliant open source Shogi engine as well as search Shogi library by Motohiro Isozaki aka Yaneurao, written in C++. YaneuraOu with Otafuku Lab 2019 won the WCSC29 in 2019, YaneuraOu was further mentioned in the library column of many programs participating in the WCSC29, such as runner-up Kristallweizen, third placed Tanu-King, and 14 others.

=Features= YaneuraOu applies a Shogi adaptation of Stockfish's search, and uses a NNUE type of evaluation developed by Tanu-King team member Yu Nasu. One of the characteristics of the NNUE type is that the number of parameters of the evaluation function is smaller than Bonanz's KPPT type. Since the number of training phases required for reinforcement learning is considered to be approximately proportional to the number of parameters of the evaluation function, the NNUE type should require fewer training phases than the KPPT type.

=Bitboards= 9x9 Shogi Bitboards are defined as array of two quad words and similar to Apery a conditional compiled union type with 128-bit type __m128i: // Bitboard 本体クラス

struct alignas(16) Bitboard {	union {		// 64bit each u64 p[2];
 * 1) if defined (USE_SSE2)

// For handling with SSE // bit0 represents SQ_11, bit1 represents SQ_12,…, bit81 represents SQ_99. // This bit position corresponds to the Square type. // However, bit63 is unused. This is a hack to find the rook's advantage with one pext by leaving here. // Invented by the magic bitboard sect, including Apery. __m128i m;	}; u64 p[2]; =Forum Posts=
 * 1) else // no SSE
 * 1) endif
 * The Stockfish of shogi by Larry Kaufman, CCC, January 07, 2020
 * Re: The Stockfish of shogi by Fabian Fichter, CCC, January 07, 2020

=External Links=
 * GitHub - yaneurao/YaneuraOu: YaneuraOu is the World's Strongest Shogi engine(AI player), WCSC29 1st winner, educational and USI compliant engine
 * やねうら王 公式サイト | コンピューター将棋 やねうら王 公式サイト Yaneura Ou Official Website (Japanese)

=References= Up one Level