Skip to content

Console & browser hangman game implementation (different strategies)

License

Notifications You must be signed in to change notification settings

andrew1407/gallows-remastered

Repository files navigation

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

About

Console & browser hangman game implementation (different strategies)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages