Skip to content

Commit 2c61c1c

Browse files
Added whitespace
1 parent 334f3df commit 2c61c1c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ This is a program designed to train your brain.
99
An image appears of a crate of a certain type of fruit, for example limes, and you have to look for the camouflaged word and hit that fruit.
1010
![Demo](https://jaywilliams.me/static/screencapture-localhost-4000-1502989254235.png)
1111
### How do I set it up?
12-
First, set up a [Makey Makey](makeymakey.com) device and [remap](http://makeymakey.com/remap) the arrow keys to 1, 2, 3, and 4. Then, clone this repo to a folder and navigate there in a command prompt.
13-
Type `npm install` into the prompt and wait for all of the dependencies to install. Then open `html/game.html` with your favorite text editor and look for the section that begins:
12+
First, set up a [Makey Makey](makeymakey.com) device and [remap](http://makeymakey.com/remap) the arrow keys to 1, 2, 3, and 4.
13+
14+
Then, clone this repo to a folder and navigate there in a command prompt.
15+
16+
Type `npm install` into the prompt and wait for all of the dependencies to install, then open `html/game.html` with your favorite text editor and look for the section that begins:
1417

1518
```javascript
1619
var fruits = [
@@ -21,5 +24,8 @@ var fruits = [
2124
},
2225
```
2326

24-
Connect a wire from each arrow key to a fruit and then connect yourself to the ground. Open word or any text input and test which key each fruit is connected to. Then, in the places where it says `key: "Digit2"` replace it with the respective key the fruit is connected to.
25-
Then, in your command line window, type "node index" and open "localhost:4000" with your favorite browser
27+
Connect a wire from each arrow key to a fruit and then connect yourself to the ground.
28+
29+
Open word or any text input and test which key each fruit is connected to, then in the places where it says `key: "Digit2"` replace it with the respective key the fruit is connected to.
30+
31+
Finally, in your command line window, type `node index` and open `localhost:4000` with your favorite browser

0 commit comments

Comments
 (0)