PacVim is a game that will teach you how to use the vim text editor.
Package | Version | License |
---|---|---|
PacVim | Latest | LGPL 3.0 |
Awesome Sauce | Latest | Open Source Sauce |
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the PacVim 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB PacVim Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "sharklabs-pacvim-18-04"}' \
"https://api.digitalocean.com/v2/droplets"
To play, ssh into your Droplet and then run:
pacvim [LEVEL_NUMBER] [MODE]
You may specify the starting level and mode (n
and h
for normal/hard). Default mode is hard:
pacvim 8 n
The objective of PacVim is very similar to PacMan.
You must run over all the characters on the screen while avoiding the ghosts (red G
).
PacVim has two special obstacles:
~
), you lose!You are given three lives. You gain a life each time you beatlevel 0, 3, 6, 9, etc. There are 10 levels, 0 through 9. After
beating the 9th level, the game is reset to the 0th level, but
the ghosts move faster.Winning conditions: Use vim commands to move the cursor
over the letters and highlight them. After all letters are
highlighted, you win and proceed to the next level.
Losing conditions: If you touch a ghost (indicated
by a red G
) or a tilde character, you lose a life. If you
have less than 0 lives, you lose the entire game.
key | what it does |
---|---|
q | quit the game |
h | move left |
j | move down |
k | move up |
l | move right |
w | move forward to next word beginning |
W | move forward to next WORD beginning |
e | move forward to next word ending |
E | move forward to next WORD ending |
b | move backward to next word beginning |
B | move backward to next WORD beginning |
$ | move to the end of the line |
0 | move to the beginning of the line |
gg/1G | move to the beginning of the first line |
numberG | move to the beginning of the line given by number |
G | move to the beginning of the last line |
^ | move to the first word at the current line |
& | 1337 cheatz (beat current level) |