@@ -9,7 +9,7 @@ You must move pacman (the green cursor) to highlight each word on the gameboard
9
9
Vim is a great tool to write and edit code, but many
10
10
people, including me, struggled with the steep learning curve.
11
11
I did not find a fun, free way to learn about the vim commands
12
- in-depth, and thus, PacVim was born. Inspired by the the classic,
12
+ in-depth, and thus, PacVim was born. Inspired by the classic,
13
13
PacMan, <b >PacVim</b > is a game that'll give anyone plenty of
14
14
practice with the vim commands while being a ton of fun to play.
15
15
@@ -38,10 +38,31 @@ Download and build the game with:
38
38
4. [sudo] make install
39
39
```
40
40
41
+ ## Using Docker
42
+
43
+ If you have docker installed already, you can just:
44
+
45
+ ``` sh
46
+ docker run -it freedomben/pacvim [LEVEL_NUMBER] [MODE]
47
+ ```
48
+
49
+ ### Building the docker image from source
50
+
51
+ From the project root, build the image:
52
+
53
+ ``` sh
54
+ docker build -t freedomben/pacvim .
55
+ ```
56
+
57
+ Push to docker hub:
58
+
59
+ ``` sh
60
+ docker push freedomben/pacvim
61
+ ```
41
62
42
63
To play, run (from anywhere):
43
64
```
44
- $ pacvim [LEVEL_NUMER ] [MODE]
65
+ $ pacvim [LEVEL_NUMBER ] [MODE]
45
66
```
46
67
You may specify the starting level and mode (` n ` and ` h ` for normal/hard). Default mode is hard:
47
68
```
@@ -51,7 +72,7 @@ $ pacvim 8 n
51
72
To Uninstall, navigate to the folder where you cloned this repo, and type ` make uninstall ` <br >
52
73
Note: this game may not install/compile properly without gcc version 4.8.X or higher
53
74
54
- #How To Play
75
+ # How To Play
55
76
56
77
The objective of PacVim is very similar to PacMan.
57
78
You must run over all the characters on the screen while avoiding the ghosts (red ` G ` ).
0 commit comments