Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sv443/node-hangman

A game of hangman you can play directly in the CLI. Has English and German words and multiple difficulties.
https://github.com/sv443/node-hangman

cli command-line game hangman hangman-cli hangman-game highscores javascript js node node-js

Last synced: 9 days ago
JSON representation

A game of hangman you can play directly in the CLI. Has English and German words and multiple difficulties.

Awesome Lists containing this project

README

        

# Node-Hangman
[![License](https://img.shields.io/github/license/Sv443/Node-Hangman)](https://sv443.net/LICENSE)
[![Build Status](https://github.com/Sv443/Node-Hangman/workflows/build/badge.svg)](https://github.com/Sv443/Node-Hangman/actions)
[![Known Vulnerabilities](https://snyk.io/test/github/Sv443/Node-Hangman/badge.svg)](https://snyk.io/test/github/Sv443/Node-Hangman)
[![Discord](https://img.shields.io/discord/565933531214118942)](https://sv443.net/discord)

A simple game of hangman you can play directly in the Command Line Interface.
Features three difficulties (easy, medium and hard), an easy to use interface and a highscore tracker.
Languages: 🇬🇧 English, 🇩🇪 German


## You can download the latest release here: [![here](https://img.shields.io/github/v/release/Sv443/Node-Hangman.svg)](https://github.com/Sv443/Node-Hangman/releases)


To delete all highscores, turn on ["show hidden files and folders"](https://www.howtogeek.com/howto/windows-vista/show-hidden-files-and-folders-in-windows-vista/) in Windows Explorer and delete the `.scores.dat` file.



## Build instructions:
To build Node-Hangman from source, follow these steps:
1. Make sure at least a semi-recent version of [Node.js](https://nodejs.org/) (I recommend v12 or higher) is installed on your system
2. Run the command `npm i` to install all the dependencies
3. Build the executable file by running the command `npm run build`

(If `pkg` couldn't be found, use `npm i -g pkg` to install it)


## Dependencies:
- [svjsl](https://npmjs.com/package/svjsl)
- [hidefile](https://npmjs.com/package/hidefile)
- [node-machine-id](https://npmjs.com/package/node-machine-id)
- [pkg](https://npmjs.com/package/pkg)
- [eslint](https://npmjs.com/package/eslint)



Made with ❤️ by [Sv443](https://github.com/Sv443)
Support me on [Patreon](https://patreon.com/Sv443_), [Ko-fi](https://ko-fi.com/Sv443_) or [PayPal](https://paypal.me/SvenFehler)