InnoHangmanBot

Created
Mar 17, 2024 03:33 PM
Skills
Java
Data-driven Development
Service-Locator Design Pattern
Problem Solving
Technologies
Discord
Java
notion image
notion image
 
notion image

My Responsibilities

  • Modular service-based back-end similar to my C# Discord bot (InnoTasker) in Java.
  • Game data system that could be used add new words and categories to the game which could be loaded from JSON config files.
  • Discord thread system with updated embeds of the game status and support for game commands
  • Custom dependency injection framework for use in the service-locator pattern to ensure service creation is more streamlined and decoupled from dependencies.

The Story

While learning Java I decided to create a Discord bot game, since I had worked with Discord bots before using a service-locator based architecture I decided to do the same in Java.
 
For this I wrote a small service-locator and dependency injection library to make building new services easy. Then I worked with JDA (A Discord API wrapper for Java) to implement the Discord side of the bot. After building a game data system to import data from JSON files it was nearly ready.
 
I sent the bot live and it worked well, being added to just over 90 Discord servers and it’s something I plan to keep up, due to the low maintenance need of it.
 
Built with Potion.so