hifumi

module
v0.0.0-...-8e63c6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2024 License: MIT

README

hifumi

Tests Status

A Shogi USI engine written in Go.


Status

Currently, calling it Shogi engine might be a bit of an exaggeration: hifumi plays by choosing a move at random. Only the movement generator is implemented but it is slow and certainly buggy. At least we have already been able to play and lose lots of games against Fairy Stockfish 😆 .

Building from source

Clone this repository then run go build -o hifumi cmd/hifumi/main.go.

Features implemented

  • Board representation
    • Hybrid solution mixing mailbox (9x9) and bitboards
  • Move generation
    • Using bitboards for non-sliding pieces
    • Magic bitboards for sliding pieces (lance, bishop and rook)

Resources

Directories

Path Synopsis
cmd
findmagic
SPDX-FileCopyrightText: 2023 VinyMeuh SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: 2023 VinyMeuh SPDX-License-Identifier: MIT
hifumi
SPDX-FileCopyrightText: 2023 VinyMeuh SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: 2023 VinyMeuh SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: 2023 VinyMeuh SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: 2023 VinyMeuh SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: 2023 VinyMeuh SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: 2023 VinyMeuh SPDX-License-Identifier: MIT
bitboard
SPDX-FileCopyrightText: 2023 VinyMeuh SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: 2023 VinyMeuh SPDX-License-Identifier: MIT
movegen
SPDX-FileCopyrightText: 2023 VinyMeuh SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: 2023 VinyMeuh SPDX-License-Identifier: MIT

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL