Ⅰ. 插件描述
The board gameⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/mastermind-board-game'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/mastermind-board-game'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/mastermind-board-game'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/Mastermind-board-game
Ⅳ. 文档说明
Mastermind, if you are not familiar, is a game of guesses. You have to guess a N-digit (N selectable from 1-9, 5 being the default) code based on clues. After you have entered a line, the clue is shown with characters 'X' and 'x'. X means the number (or color) and position is right. x means number is right but position is incorrect.
Please note that, the position of X/x in the clue area has no correspondence with the actual numbers. In other words a X in the clue box means one of the numbers you have guessed is right and in the correct position. It does not tell you which one; that is where the fun is!
Here is some more info about the game.
http://en.wikipedia.org/wiki/Mastermind_(board_game)