Skip to content

This repository contains a Wordle game built with Electron and styled using shadcn. It features interactive gameplay, cross-platform compatibility, and integration with a custom Wordle API for word validation and letter correctness.

License

Notifications You must be signed in to change notification settings

masonyekta/wordle-game

Repository files navigation

Wordle Game

A Wordle game built with electron-shadcn. It uses an API endpoint to validate words and determine if the letters are correct.

Preview

Features

  • Interactive Wordle gameplay
  • Built with Electron for cross-platform compatibility
  • API integration for word validation

Getting Started

1. Clone this repository

git clone https://github.com/masonyekta/wordle-game.git

Or use it as a template on GitHub

2. Install dependencies

npm install

3. Run the app

npm run start

NPM script

To run any of those scripts:

npm run <script>
  • start: Start the app in development mode
  • package: 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 the make command and sending them to a service somewhere for you to distribute or use as updates.
  • lint: Run ESLint to lint the code
  • format: Run Prettier to check the code (it doesn't change the code)
  • format:write: Run Prettier to format the code
  • test: Run the default unit-test script (Vitest)
  • test:watch: Run the default unit-test script in watch mode (Vitest)
  • test:unit: Run the Vitest tests
  • test:e2e: Run the Playwright tests
  • test: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 or publish script.

License

This project is licensed under the MIT License

About

This repository contains a Wordle game built with Electron and styled using shadcn. It features interactive gameplay, cross-platform compatibility, and integration with a custom Wordle API for word validation and letter correctness.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published