Skip to content

🎮 The implementation of the game Hangman in the form of a Discord bot

License

Notifications You must be signed in to change notification settings

nau7ilus/HangmanBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hangman logo License: MIT Code size Last release

Description

The implementation of the game Hangman in the form of a Discord bot. The main goal of the game is to guess the given word, by one letter with a limited number of attempts.

To display information about the current game uses pictures rather than text. Therefore, the project is divided into two applications: the visualizer and the bot itself. The first one is a web server on fastify, which provides the ability to quickly compose pictures with the needed information and immediately send them to Discord. It uses png blanks and adds the necessary information using canvas.

Bot's task is to create a word, create private thread for game (available only for servers with 2 level of boost, in the future can be added the ability to create a normal channel), save the state of the game, using redis, check answers of users and set their rating in PostgreSQL

Prerequisites

...or if you want to use Docker, then nothing above is required, just

Current status

Nothing is ready yet. The focus is on the web server, then the mechanics of the game

Changelog

If you want to see the history of code changes, check CHANGELOG.md

Contributors

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

See GitHub to see contributions list

License

HangmanBot is licensed under MIT license