Git Product home page Git Product logo

wordle's Introduction

wordle

Build

Live deployment at solvewordle.net.

Read the blog post.

Requirements

  • Java (OpenJDK ok)
  • Gradle

Usage

./gradlew build

Command allows for System.in interaction with WordlePlayer:

./gradlew -q --console plain run

This command is not useful, but syntax handy for future gradle work:

./gradlew --stacktrace clean build run

Unit Tests

./gradlew clean test (-i)

Sub Projects

Lambda_Function

The directory lambda_function contains an AWS RequestStreamHandler which will expose functionality from the overall wordle repo. There are also supporting bash scripts for deployment via AWS CLI. See lambda_function/README.md for more detail.

Web_Service

The directory web_service contains a spring-web + gradle project which will expose functionality from the overall wordle repo. See web_service/README.md for more detail.

wordle's People

Contributors

k0sty avatar tylwright avatar yamori avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wordle's Issues

Include index of wrongLocation chars, for Trie searching

In Trie.java, this might not be too disruptive an upgrade, generatePotentialWordsHelper would be changed Set<Character> wrongLocation to something like Set<CharAndWrongIndices> wrongLocation, and WorldPlayer would also capture chars and indices using that new class.

Which functionality to expose via web app....

The web_service directory now has a webapp basically serving up the Trie.generatePotentialWords() method. I'm thinking of going ahead and making a simple html+js to use the endpoint. To me it's still compelling with the use of a Trie data struct for efficiencies, even if it's just returning an array of still valid words.

I think the really interesting bit is the path @k0sty is going with FindBestStartingWord, if that algorithm could be generalized for any currentGuess, finding the most optimal 'next guess'.

Thoughts?

Unit test of web_service

Would be nice if this could get triggered from gradle test of base dir, if gradle had a 'script/command' feature where it could call cd web_solver $$ ./gradlew test and get tripped if a non-zero exit code

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.