Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.52 KB

README.md

File metadata and controls

52 lines (33 loc) · 1.52 KB

Gallows (Hangman) game application

DichBox Logo

Description

This project contains multiple implementation handling Hangman game logic. There's an offline console app version which can be simply run using console command. An online app version is available as well: to use it, firstly run a server script and then launch a client one. They used one of defined connection strategies (dataraw, streamable) and connection types (HTTP, WS, UDP and TCP) defined in a config (here's example) - env.json. Besides the mentioned options, the config also contains connection address (host & port). The client can be used as both console and browser apps.

Commands

To run offline console app:

npm run console

To run server app:

npm run server

To run online client app:

npm run client

Gameplay

Choose difficulty:

Difficulties

Main gameplay (wordguessing):

Gameplay 1

Gameplay 2

Loss cases:

Loss 1

Loss 2

Loss 3

Win case (guess a word):

Win