GithubHelp home page GithubHelp logo

3p511on / hangmanbot Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.19 MB

๐ŸŽฎ The implementation of the game Hangman in the form of a Discord bot

License: MIT License

JavaScript 100.00%
bot canvas discord hangman js node game

hangmanbot's Introduction

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

hangmanbot's People

Contributors

dependabot[bot] avatar nautilus-philippus avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.