← Works

Reversi.jl

強化学習に組み込みやすい高速 Othello エンジン

Game / RLGame / RLJuliaJulia ≥ 1.12

A high-performance Reversi (Othello) implementation in Julia, built on StaticArrays.jl for efficient board representation. Designed with flexibility for machine learning and reinforcement learning research.

Features

  • Efficient implementation: StaticArrays.jl for fast, stack-allocated boards.
  • Terminal gameplay: play interactively in the terminal.
  • Flexible player system: easy to plug in custom AI players and ML models.
  • Clean API: simple, well-documented interface for programmatic control.
  • Extensible: abstract player interface allows new strategies.

Quick start

using Reversi

# Human vs Random AI
play_game(HumanPlayer(), RandomPlayer())