GithubHelp home page GithubHelp logo

word-hunter-using-python's Introduction

word hunt solver v1

overview of how it works:

word hunt is a game for the iOS app GamePigeon where players are tasked to find words on a 4x4 board in 80 seconds, with points awarded based on the length of the word. the script generates a board either from an image or other input, or randomly based on the frequencies of the letters in the english language. from there, the board is represented as a family of tries, and words are found using a full graph traversal up to 8 letters deep.

current roadmap:

  1. working model of the game
  2. create a solver
  3. generate boards through an image
  4. have a player automatically play the game
  5. have a machine physically play the game

what's next?

  1. GUI interface instead of CLI
  2. a method to display how each word is formed on the board

how to use:

be sure to download the included .yaml file and create the environment, then run in the terminal using:

python(3) main.py [args]

  • -i <input file> : a screenshot of a board taken from the gamepigeon app. if none specified, will either create a random board or prompt for input.
  • -o <output file> : a text file to store the found words in. if none specified, will print words to console.
  • -d <dictionary json> : a JSON file of words that the board should be generated from. if none specified, will use a preselected dictionary.
  • -r : if no input file specified, will create a random board.
  • -f : if no output file specified, will print all words to console. otherwise, will only print the first 20.

special thanks and acknowledgements:

dictionaries taken from:

word-hunter-using-python's People

Contributors

shubhamsaras avatar

Watchers

 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.