Lightsout.vim is a project mainly written in Vim Script, it's free.
Lights Out on vim
move: hjkl flip: x