A Wordle game built with electron-shadcn. It uses an API endpoint to validate words and determine if the letters are correct.
- Interactive Wordle gameplay
- Built with Electron for cross-platform compatibility
- API integration for word validation
git clone https://github.com/masonyekta/wordle-game.git
Or use it as a template on GitHub
npm install
npm run start
To run any of those scripts:
npm run <script>
start
: Start the app in development modepackage
: Package your application into a platform-specific executable bundle and put the result in a folder.make
: Generate platform-specific distributions (e.g. .exe, .dmg, etc).publish
: Electron Forge's way of taking the artifacts generated by themake
command and sending them to a service somewhere for you to distribute or use as updates.lint
: Run ESLint to lint the codeformat
: Run Prettier to check the code (it doesn't change the code)format:write
: Run Prettier to format the codetest
: Run the default unit-test script (Vitest)test:watch
: Run the default unit-test script in watch mode (Vitest)test:unit
: Run the Vitest teststest:e2e
: Run the Playwright teststest:all
: Run all tests (Vitest and Playwright)
The test scripts involving Playwright require the app be builded before running the tests. So, before run the tests, run the
package
,make
orpublish
script.
This project is licensed under the MIT License