Add scrips to play easily and translate readme with GIFs

This commit is contained in:
Julian Calvento 2019-05-16 15:17:58 -03:00
parent 7582b76ee1
commit 90bde04df8
6 changed files with 45 additions and 0 deletions

34
README.es.md Normal file
View File

@ -0,0 +1,34 @@
node-games
==========
[English Version](README.md)
Algunos juegos de consola escritos en Node.
```
npm i -g node-games
node-games
```
Sin instalar el juego globalmente:
```
npm start <juego> <idioma>
Ejemplo:
npm start snake es
(Si no se especifica el lenguage, por defecto se usa inglés)
```
spacecraft
----------
![spacecraft](spacecraft-es.gif)
snake
-----
![snake](snake-es.gif)
tanks
-----
![tanks](tanks-es.gif)

View File

@ -1,6 +1,8 @@
node-games
==========
[Version en español](README.es.md)
Some fun console games written using Node.
```
@ -9,6 +11,14 @@ npm i -g node-games
node-games
```
Without installing node-games globally:
```
npm start <game> <language>
npm start snake es
(English will be default language if none is given)
```
spacecraft
----------
![spacecraft](https://raw.githubusercontent.com/mdibaiee/node-games/master/spacecraft.gif)

View File

@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"build": "grunt && grunt copy",
"start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"bin": "index.js",

BIN
snake-es.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
spacecraft-es.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

BIN
tanks-es.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB