1° Clone this repository
git clone !!
2° Install dependecies
composer install
3° Install Java if you don't already have it:
sudo apt-get install openjdk-8-jre -y
4° Download the latest Selenium standalone server and Run:
java -jar selenium-server-standalone-3.5.3.jar
5° Get the latest Chrome driver
6° After extract the chrome driver on 5° step, move to /bin
sudo mv -i chromedriver /usr/bin/
Option Nam | Description | Default | Options |
---|---|---|---|
--game | name of the game | letreco | term - letreco |
--trygard | keep guessing until win the game | off | on - off |
php index.php --game=letreco --tryhard=on
php index.php --game=letreco --tryhard=off
php index.php --game=term --tryhard=on
php index.php --game=term --tryhard=off
php index.php --game=term
php index.php --game=letreco
php index.php --tryhard=off
php index.php --tryhard=on
php index.php
As the game goes on, it will make a file called 'wrong.txt'. It will make a list of all words that it is not acceptble on the game