Skip to content

and-computers/react-connections-game

Repository files navigation

Connections (React, Tailwind, Shadcn/ui)

This is a clone of the NYT Connections Game. Which itself seems to be an unacknowledged clone of the British game Only Connect.

Anyways..

Gif of Connections Gameplay

To Run Locally:

cd react-connections-game
npm install
npm run dev

Technology

Code Organization

  • Global state (game status, guesses, etc.) is handled using React's Context API. The provider components are in src/providers
  • Components are in src/components
  • Helper functions for local storage, game statistics, and constants are in src/lib
    • The actual puzzle data for changing the content of each puzzle is in src/lib/data.js
  • Custom hooks are in src/hooks

Similar Projects

Contributing

  • Please fork and submit a PR if you'd like!

Projects Built Using This Repo:

  • your fork here!

Want to add one to the list? Please make a pull request.

If you found this helpful or entertaining feel free to check out our other work!

If you'd like to support financially