sudoku_game


Ⅰ. 插件描述

SudoKu, very popular game.The objective is to fill a 9×9 grid with 1-9.

Ⅱ. 基本信息

创建日期:  2011-04-13
使用用户:  1
Github星:  2
插件作者:  Hong Wu

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/sudoku-game'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/sudoku-game'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/sudoku-game'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/sudoku_game

Ⅳ. 文档说明

The objective is to fill a 9×9 grid with digits so that each column, each row, and each of the nine 3×3 sub-grids that compose the grid (also called "boxes", "blocks", "regions", or "sub-squares") contains all of the digits from 1 to 9.

" Write this script for sue.
"
" Usage:
"       Start game: type SudokuEasy/SudokuMedium/SudokuHard/SudokuVeryHard in
"       command line
"       If you want create a customization Sudoku, type SudokuCustom <init
"       numbers count>, the count is between 20 and 80
"       use hjkl/HJKL to move around. use HJKL quick move to the number need
"       input
"       u:undo ctrl-r:redo
"       ?:show right answer under cursor
"
"       Welcome to email me! Enjoy yourself!
"
"Attention:
"       ########Need python support! #########
"
"       Because I don't kown how to create random in vim srcipt.
"       I use lots of random numbers to create sudoku. If you know,
"       send email to me! Thanks!
"
"Email:
"       wuhong40@163.com

添加新评论