I made a game "PacVim" that operates Pac-Man with vim command with Go.
Since it is Go, you can easily execute it by downloading the binary. https://github.com/TurtleBuild/pacvim/tree/master/bin
If you are interested, please play with it. Don't expect it because it's just a hobby. .. ..
char | what it does |
---|---|
o | feed |
X | poison |
G | ghost |
state | conditions |
---|---|
Game clear | Clear all 10 stages |
Game over | Fail the stage a total of 4 times |
Stage success | Eat all food |
Stage failure | Eat poison Get caught by a ghost |
key | what it does |
---|---|
q | Game over |
h | Move 1 square to the left |
j | Move down 1 square |
k | Move one square up |
l | Move 1 square to the right |
w | Move to the beginning of the next word |
e | Move to the end of the next word |
b | Move to the beginning of the previous word |
$ | Move to the end of line |
0 | Move to the beginning of the line |
gg/1G | Move to the beginning of the first line |
NG | Move to the beginning of the Nth line |
G | Move to the beginning of the last line |
^ | Move to the beginning of the first word on the current line |
w,e,b
$,0,gg,NG,G,^
$ statik -src=files
Recommended Posts