Live data from Hacker News

A CLI game to learn Vim

ostechnix.com

11–20 of 55 posts

Re: A CLI game to learn Vim

#11

Text UI != CLI. I still remember the vim movement commands from some game I played years ago when I tried to learn it. It's a nice way to learn. Reminds me of "typing games" that used to exist.

The classic key bindings for rougelikes were vi key bindings. So rogue, hack, nethack, moria... Newer games of the genera typically still allow the classic bindings, but not as easily supported.

Re: A CLI game to learn Vim

#12
post #8

Somebody please make 'PacMan - a text-mode game to learn Man commands'.

A more ambitious project would teach a deep understanding of monads and/or the borrow checker through the mastery of pacman patterns. And if you're bad, you learn a lot about continuations.

Re: A CLI game to learn Vim

#15

Doesn't work for me at all on Arch. I always just see : Press enter to play => You win the game! Without anything inbetween, and it jumps straight to the next level.

Did you install from the AUR? It works fine for me.

Re: A CLI game to learn Vim

#16

would be awesome to just: docker run -it --rm pacvim I'll probably build it tonight if nobody else does (please comment here so we don't duplicate work)

I've been practicing making Dockerfiles for things so I figured I'd do this one too.

https://gist.github.com/allanlw/64aaa1ed1b24fa3eb833da7940b3...

Dockerfile style/feedback appreciated, although this is really quite terse

Re: A CLI game to learn Vim

#17
post #15

Doesn't work for me at all on Arch. I always just see : Press enter to play => You win the game! Without anything inbetween, and it jumps straight to the next level.

Did you install from the AUR? It works fine for me.

True, aur package works.

I tried to manually build from source before.

Re: A CLI game to learn Vim

#19
post #16

would be awesome to just: docker run -it --rm pacvim I'll probably build it tonight if nobody else does (please comment here so we don't duplicate work)

I've been practicing making Dockerfiles for things so I figured I'd do this one too. https://gist.github.com/allanlw/64aaa1ed1b24fa3eb833da7940b3... Dockerfile style/feedback appreciated, although this is really quite terse

Here's one based on alpine which should be a bit smaller:

https://gist.github.com/tlrobinson/f64d80b872338a878d14601ed...

Re: A CLI game to learn Vim

#20
post #11

Text UI != CLI. I still remember the vim movement commands from some game I played years ago when I tried to learn it. It's a nice way to learn. Reminds me of "typing games" that used to exist.

The classic key bindings for rougelikes were vi key bindings. So rogue, hack, nethack, moria... Newer games of the genera typically still allow the classic bindings, but not as easily supported.

Back in the early 90s, I learned the vi movement keys through hunt(6) from the BSD Games collection. Can't find a good link for the package, but here is the man page: https://www.unix.com/man-page/bsd/6/hunt/
Post reply on HN