A web version of the Wha?-rdle discord bot
Includes a web app and android app implementation of the hit game of Wordle.
This was built as a simple project primarily to test out AI agents for myself and see how its like to use them to make a small project.
The api directory contains the API that the app talks to in order to guess answers and know when a new game starts, etc.
The app is where the website and android app implementations sit.
- Go to
api/main.pyand make sure the HOST and PORT are correct. - Host the API on a python server
- Go to
app/www/js/index.jsand change API_BASE_URL to whatever your API url is. - Go to
app/www/index.htmland look for CHANGE_ME and change it to your API url. - To host it as a website, just put all the contents of the www folder on a web server.
- To build the android app, setup cordova on your system and then cd into the app directory, after that run
cordova build android(make sure you have installed all requirements and read the docs for cordova android). This will build the app and then you can emulate it on your system.
This is not meant to be used on a large scale or distributed to a large number of people. I made this simply to distribute it amongst a couple friends so we can play more Wordle.