Skip to content
/ Othello Public

An Othello computer game. 3D graphics, computer opponent, undo/redo/replay. Written in Unity and C#. Can be compiled in Visual Studio 2019.

Notifications You must be signed in to change notification settings

ledpup/Othello

Repository files navigation

Intro

Othello is an implementation of the board-game Othello (aka Reversi). It was created in Unity with C# as the programming language. It features:

  • 3D animation of plays
  • Computer player (with opening book, transposition table, alpha-beta pruning negamax searching)
  • Undo/redo and replay of games
  • Displays archived game stats for each square
  • Displays potential plays
  • Save and load games

Setup Instructions

Visual Studio

The source code can be compiled in either Visual Studio 2019, VS Code, or MonoDevelop. Build in Visual Studio (or equivalent) first so the class libraries can go into the folders for Unity to pick-up. The class libraries are:

  • Othello.Core
  • Othello.Model

If you don't build in Visual Studio (or equivalent) you'll get compile errors in Unity.

Unity

The graphics engine currently runs on Unity 2020.3.12f1. It should be updatable to newer versions. The unity project file is stored in the Assets folder. See http://unity3d.com/. The Unity scene you need to open is called Othello.unity, in the root of the repo.

Additional Information

History

  • 2021 update : Abandoned XBox Live integration but merged the rest of the branch into master. Added WThor 2020 archive into opening book. Fixed all the Unity files so it's properly ready for cloning of repo (thought I'd done that years ago!)
  • 2020 update: refactored the WThor file reader. Added the games from 2012-2019. Started on online multiplayer using XBox Live.
  • 2019 update: published to the Microsoft Store at https://www.microsoft.com/store/apps/9WZDNCRDWZZ3.

About

An Othello computer game. 3D graphics, computer opponent, undo/redo/replay. Written in Unity and C#. Can be compiled in Visual Studio 2019.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published