[Updated on Apr. 18] Integration of CiNii Articles into CiNii Research

Proposal and Implementation of Magic Bitboards in Shogi

Bibliographic Information

Other Title
  • コンピュータ将棋における Magic Bitboard の提案と実装

Search this article


In this paper, we present a technique to apply magic bitboards into Shogi. A bitboard is a bitset representation of a position suitable for efficient game-tree searches in two-player games such as chess. They have widely been used in popular strong programs in chess and Shogi. Magic bitboards are recent improvements that can efficiently calculate attacks with simpler data than those needed to be maintained in previous bitboard techniques. While magic bitboards in chess depend on the fact that a chess board can be represented in one 64-bit integer, a board of Shogi has 81 squares. Thus, we first developed a technique to calculate attacks of a board represented in multiple integers. Then, we show the effectiveness of our techniques by experiments using the state-of-the-art Shogi program, Bonanza.


Citations (0)*help

See more


See more

Related Articles

See more

Related Data

See more

Related Books

See more

Related Dissertations

See more

Related Projects

See more

Related Products

See more


Report a problem

Back to top