An open API service indexing awesome lists of open source software.

https://github.com/oliverzh2000/reversi

The board game Reversi/Othello written in C# and XAML. Features modern UI and a simple minimax/alpha beta pruning AI.
https://github.com/oliverzh2000/reversi

minimax-algorithm windows-presentation-foundation

Last synced: 3 months ago
JSON representation

The board game Reversi/Othello written in C# and XAML. Features modern UI and a simple minimax/alpha beta pruning AI.

Awesome Lists containing this project

README

        

# reversi

My goal for this app was to make something simple and beautiful,
yet featuring a highly competent AI capable of defeating most human players.

This app is written in C# and XAML for Windows Presentation Foundation (.NET).

The AI and Game logic for this app are contained in `/src/Game.cs`.

The AI of this app uses the minimax algorithm with alpha beta pruning to predict
the best possible AI move. Early in the game, the AI will strive for mobility
and corners, while near the endgame it will strive solely for score. On "legendary"
mode, the AI searches to a depth of 4 moves, and will generate the full game tree
whenever there is less than 10 moves until the end.