Live data from Hacker News

Show HN: I made a Sudoku game you can play using Vim

vimsudoku.com

11–16 of 16 posts

Re: Show HN: I made a Sudoku game you can play using Vim

#12
Hi everyone!

I made a Sudoku game and launched it on HN about 6 months ago: https://news.ycombinator.com/item?id=38913220

I got great feedback. The most request feature were pencil marks and keyboard navigation.

At the time I was starting to use Vim so I thought it'll be cool to use Vim to navigate the grid. This is the implementation of that idea.

I hope you enjoy it!

Re: Show HN: I made a Sudoku game you can play using Vim

#13

It's great, but how to submit (or complete) sudoku itself?

Thanks! You have to use the keyboard to navigate the grid and enter values.

You'll get a message congratulating you when you finish adding valid values for the missing cells.

The game will be over if you make 3 mistakes and you'll be prompted if you want to start a new one.

Re: Show HN: I made a Sudoku game you can play using Vim

#15

Well done, this is fun! I think it would be nice to use the cursor to indicate if the app is currently in pencil or solve mode. And one small bug report, gg only works like 33-50% of the time for me.

Thank you!

That's a great idea. Do you think I should change the color of the active cell depending on the mode? There is currently an indicator in the status bar - what do you think about that?

Fixed the gg bug! Earlier it worked if you typed two gs within 700ms. New implementation emulates Vim by waiting for the next character.

Re: Show HN: I made a Sudoku game you can play using Vim

#16

Well done, this is fun! I think it would be nice to use the cursor to indicate if the app is currently in pencil or solve mode. And one small bug report, gg only works like 33-50% of the time for me.

Thank you! That's a great idea. Do you think I should change the color of the active cell depending on the mode? There is currently an indicator in the status bar - what do you think about that? Fixed the gg bug! Earlier it worked if you typed two gs within 700ms. New implementation emulates Vim by waiting for the next character.

I use a block cursor for visual mode & a thin cursor for insert mode so I'd prefer something like that, either changing to a text field cursor in solve mode or maybe adding a underline so that it looks like it's a one character input field in the cell. But color works too! I saw the status bar indicator but it felt a bit distracting that I had to look away from the grid every time to confirm that I'm in the right mode
Post reply on HN