Add the least amount of documentation possible
This commit is contained in:
parent
42bcfed1c0
commit
217f3f94ee
4 changed files with 28 additions and 1 deletions
1
.ruby-version
Normal file
1
.ruby-version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.1.0
|
4
Makefile
Normal file
4
Makefile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
install:
|
||||||
|
curl https://raw.githubusercontent.com/dwyl/english-words/master/words_alpha.txt -o dictionary.txt
|
||||||
|
touch bad-in-dictionary.txt
|
||||||
|
bundle install
|
22
README.md
Normal file
22
README.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# wordle-solver
|
||||||
|
|
||||||
|
Mess around with solving Wordle boards in horribly inefficent ways!
|
||||||
|
|
||||||
|
## Pre-requisites
|
||||||
|
|
||||||
|
* Ruby >= 2.7.5
|
||||||
|
* bundler
|
||||||
|
* Chrome
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
1. `make install`
|
||||||
|
* Or manually run the commands for installation in the `Makefile`
|
||||||
|
2. `bundle install`
|
||||||
|
|
||||||
|
## Running
|
||||||
|
|
||||||
|
1. `ruby driver.rb`
|
||||||
|
* Watch it go!
|
||||||
|
|
||||||
|
`Ctrl+C` to exit.
|
|
@ -1,4 +1,4 @@
|
||||||
require "debug"
|
require "debug" if RUBY_VERSION.to_i >= 3
|
||||||
require "logger"
|
require "logger"
|
||||||
|
|
||||||
require_relative "nonexistant_guess_error"
|
require_relative "nonexistant_guess_error"
|
||||||
|
|
Loading…
Reference in a new issue