Vimdoku is a unique web-based puzzle game that brings the power of Vim's keyboard shortcuts to the classic game of Sudoku. This project is built with modern web technologies, including Svelte, TypeScript, Node.js, Vite, and Vitest, to provide an enjoyable and efficient experience for Vim enthusiasts and Sudoku lovers alike.
To get started with Vimdoku, follow these simple steps:
git clone https://github.com/matrosmartz/vimdoku.git
2.Navigate to the project directory:
cd vimdoku
npm install
npm run dev
http://localhost:5173
to start playing Vimdoku.h
- Move leftj
- Move downk
- Move upl
- Move righti
to enter Insert mode.n
to enter Annotation mode.ESC
to exit Insert or Annotation mode.Vimdoku offers puzzles with varying levels of difficulty to challenge players of all skill levels. You can choose between beginner, easy, medium, hard, etc. puzzles to test your problem-solving skills.
Example:
:st[art] easy
Vimdoku supports different languages for a better user experience. The currently available languages are English and Spanish. To change the language, use the following Vim commands while playing:
:se[t] language=es
or:
:se[t] language:es
This will change the user interface language to Spanish. To switch back to English, simply replace es
with en
.
The game is currently available in the following languages:
es
)en
, by default)If you would like to contribute translations into other languages, you are more than welcome to do so.
Vimdoku allows you to choose between different color schemes for the game interface. You can select a color scheme using the :set colorschema
Vim command followed by one of the following values:
system
: Uses the color scheme set in your system preferencesdark
: Applies a dark mode color schemelight
: Applies a light mode color schemeFor example:
:se[t] colorschema=dark
:se[t] colorschema=light
Vimdoku provides real-time validation, so you'll know immediately if your input is correct or if there are any errors in your solution.
To disable real-time validation, you can use the following Vim command:
:se[t] noautomaticvalidation
Simply enter this command in Vim while playing the game to turn off automatic validation.
To reactivate the real-time validation in Vimdoku, you can use the following Vim command:
:se[t] automaticvalidation
This will enable automatic validation in the game, so you can see immediately if your input is correct or if there are any errors in your solution.
I hope this helps! Let me know if you have any other questions.
We welcome contributions to Vimdoku. Feel free to open issues, submit pull requests, or suggest new features and improvements.
Vimdoku is open-source software released under the MIT License.