sponsor Vim development Vim logo Vim Book Ad

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

 script karma  Rating 45/14, Downloaded by 1553  Comments, bugs, improvements  Vim wiki

created by
Hong Wu
 
script type
game
 
description
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
 
install details
put file to .vim/plugin/
  ########Need python support! #########
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
sudoku_game.vim 1.1 2011-05-15 7.0 Hong Wu Fix Bug: modify Cursor -> cursor
sudoku_game.vim 1.0 2011-04-13 7.0 Hong Wu Initial upload
ip used for rating: 3.15.156.140

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github