You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
14
17
15
18
```javascript
16
19
var fruits = [
@@ -21,5 +24,8 @@ var fruits = [
21
24
},
22
25
```
23
26
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