2.0.5 • Published 3 years ago

clh-arcade v2.0.5

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

Command Line Heroes ARCADE!

This is a game switcher for the Command Line Heroes arcade cabinets.

Step 0: initial setup

npm install

Then if you're deploying to a cab, run:

npm start

Step 1: create games/

Create a symlink named games that points to a directory containing all the games.

ln -s ../path-to-games games

The games dir should have the following format. See clh-arcade-think for an example.

games
├── game-1
│   ├── index.html
│   └── thumb.png
└── game-2
    ├── index.html
    └── thumb.png

Note: the thumbnails do not have to be in the game directories.

Step 2: create game metadata

Create games.json or symlink it from elsewhere.

cp games.sample.json games.json

Or:

ln -s ../path-to-games/games.json games.json

Edit the sample, creating one entry for each game.

Each game object has:

  • name - the name of the game (not used right now, but may well be needed)
  • path - the path to the game, for example games/foo/ or games/MyGame/MyGame.html
  • thumb - the path to the thumbnail (does not have to be inside games/)

That should do it! Enjoy and post issues if anything doesn't work.

2.0.3

3 years ago

2.0.2

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.31

4 years ago

1.0.30

4 years ago

1.0.29

4 years ago

1.0.28

4 years ago

1.0.27

4 years ago

1.0.26

4 years ago

1.0.25

4 years ago

1.0.24

4 years ago

1.0.23

4 years ago

1.0.22

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago