|
3 | 3 | * Lead Developer: `Jay Williams` |
4 | 4 | * Junior Developers: `Nikash Chekuri` <img src="https://snusercontent.global.ssl.fastly.net/member-profile-full/44/4288444_8862847.jpg" width="50"> , `Gokul Menon` |
5 | 5 | * Tester: `Shaquille` |
6 | | -* Alternative Developer: `Rory Sharp` (Solution in Python)[https://github.com/codingJWilliams/BBCInventathon] |
| 6 | +* Alternative Developer: `Rory Sharp` [Solution in Python](https://github.com/codingJWilliams/BBCInventathon) |
7 | 7 | ### What is this? |
8 | 8 | This is a program designed to train your brain. |
9 | 9 | 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. |
10 | | -!(Demo)[https://jaywilliams.me/static/screencapture-localhost-4000-1502989254235.png] |
| 10 | + |
11 | 11 | ### 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. 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: |
| 14 | + |
14 | 15 | ```javascript |
15 | 16 | var fruits = [ |
16 | 17 | { |
17 | 18 | name: "Lemon", |
18 | 19 | pics: ["url('lemon1.jpg')", "url('lemon2.jpg')", "url('lemon3.jpg')", "url('lemon4.jpg')"], |
19 | 20 | key: "Digit2" |
20 | 21 | }, |
21 | | -```. |
| 22 | +``` |
| 23 | + |
22 | 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, where it says `key: "Digit2"` and replace it with the correct digit for each fruit you have connected. |
23 | 25 | Then, in your command line window, type "node index" and open "localhost:4000" with your favorite browser |
0 commit comments