Skip to content

About

(wip) Reversi in Vim/Neovim without external dependencies

Topics

Resources

Stars

14 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

Caution

Weight tables and book are currently undergoing adjustments. Please be aware that unstable behavior may occur.

reversi.vim

  • Play Reversi in Vim/Neovim without any external dependencies.
  • Features a CPU opponent that uses a simple position-based evaluation.
  • If Lua support is available (Neovim or Vim with +lua), a much stronger engine using the Nega-Scout algorithm will be used.

demo

Installation

Using vim-plug

Plug 'tokinasin/reversi.vim'

Usage

Start a new game:

:Reversi
  • The first player is chosen randomly.
  • Move the cursor to an empty square.
  • Press <CR> (Enter) to place your disc.
  • The CPU will automatically respond.

Documentation

:help reversi

TODO

  • make CPU stronger

Acknowledgements

The board evaluation weights used in the AI engine are based on the values provided in the following article. A big thank you to the author.

License

You can use this work under the terms of either:

About

(wip) Reversi in Vim/Neovim without external dependencies

Topics

Resources

Stars

14 stars

Watchers

0 watching

Forks

Contributors

Languages