From 4b79dbd535f6a35f813854b9cec7dd416b30db51 Mon Sep 17 00:00:00 2001 From: AllAwesome497 Date: Tue, 10 Dec 2019 02:00:05 +0000 Subject: [PATCH 1/2] adding run on repl.it badge this commit was generated automatically on repl.it --- .replit | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .replit diff --git a/.replit b/.replit new file mode 100644 index 0000000..30c9d82 --- /dev/null +++ b/.replit @@ -0,0 +1,2 @@ +language = "nodejs" +run = "npm i babel-polyfill; npm i ansi; echo Which game do you want; echo spacecraft; echo snake; echo tanks; read game; echo what language; echo es or en; read lang; node index.js $game" diff --git a/README.md b/README.md index 0cf393e..d712edb 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ node-games ========== Some fun console games written using Node. - +[![Run on Repl.it](https://repl.it/badge/github/mdibaiee/node-games)](https://repl.it/github/mdibaiee/node-games) ``` npm i -g node-games -- 2.34.1 From 1410a7dce73259aa087c2c409244aca1b19fe132 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Sun, 16 Feb 2020 08:32:45 +0000 Subject: [PATCH 2/2] Update .replit --- .replit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.replit b/.replit index 30c9d82..768cdc2 100644 --- a/.replit +++ b/.replit @@ -1,2 +1,2 @@ language = "nodejs" -run = "npm i babel-polyfill; npm i ansi; echo Which game do you want; echo spacecraft; echo snake; echo tanks; read game; echo what language; echo es or en; read lang; node index.js $game" +run = "npm i; npm i babel-polyfill; npm i ansi; echo Which game do you want; echo spacecraft; echo snake; echo tanks; read game; echo what language; echo es or en; read lang; node index.js $game" -- 2.34.1