Skip to content

vim-scripts/HJKL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=3409

Lots of beginners do not like to use vim's h,j,k,l key to move concur, so I made this game, hopefully can help beginners get used to h,j,k and l.

This is a maze exploring game.
A 15*15 maze is randomly generated, and user('@') need to go to target position('X').
Only h,j,k,l are allowed for controlling.
Type 'q' twice to quit the game.


Maximize the window before starting the game to get better view.

Type :HJKL to start a new game.


Want more challenge, try konami code(kkjjhlhlba)



Future plan:
1. Better random number generator is needed. Current version sometimes leads to infinite loop when generating random maze.
2. Need more challenging maze. Better maze construction algorithm is needed.
3. More fancy features...

About

Use H,J,K,L to explore maze

Resources

Stars

Watchers

Forks

Packages

No packages published