Coder Social home page Coder Social logo

hooligans-hangman-bot's Introduction

Hi, I'm Max! ๐Ÿ‘‹ I'm a software developer with a strong will to learn, research new technologies, and design software architecture. I like creating practical business solutions and making development processes as efficient as possible.

hooligans-hangman-bot's People

Contributors

maxdemaio avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

hooligans-hangman-bot's Issues

have mutliple games active across servers

  1. use a db (persistence even when bot goes down)
  2. use a map for servers to game objects (only alive when bot is up which is fine bc hangman games aren't important data)
  • add map when new server says $hangman and not existent in map
  • update map when server says $endgame
  • when game going let users know game in progress on existing server connections

curate words better

Do it how Scrabble ranks words:

  • each letter has point
  • each word is sum of points
  • break down into 3 lists (beginner, medium, hard)
  • use integration to make sure these lists are evenly sized
  • 3 sep txt files of easy, medium, hard
  • do a switch statement on the passed in argument (difficulty) and if no arg just use the whole word bank or use a default difficulty (medium/easy)

Curate the main one before this, so that we have normal words.

Link map class to number of guesses

map.py is class that contains a dictionary class variable. For each guess, we should print its corresponding index. Also, when starting a game we should print the corresponding index.

For example:

guess 0 (game start):

  +---+
  |      |
         |
         |
         |
         |
=========

guess 1:

  +---+
  |     |
  O    |
         |
         |
         |
=========

ACs:

  • For each guess, the corresponding map index will be printed

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.