- Published on
Pick a Pair Game
- Authors

- Name
- nikUnique

I had an idea to build a Pick a Pair Game to practice TypeScript with React. I finally decided to build it, but not manually, but using Cline. Cline is an AI coding agent that runs inside VS Code - it can read, write, and edit files, run terminal commands, and build features autonomously. It was the first time I used an AI agent, and it was amazing to watch how it built the game. All the code there I understand myself. I definitely had a good experience with Cline, and I like it.
Pick a Pair Game
Pick a Pair Game is a simple memory-matching card game. It is a classic game where you flip cards to find matching pairs. Your goal is to match all pairs in as few moves as possible.
How to Play
- Click any card to reveal its hidden value
- Click another card to try to find its match
- If the two cards match, they stay flipped, and you score a point
- If they don't match, both cards flip back over
- Win condition: Match all 8 pairs to complete the game
- Track your progress with move counter, match counter, and timer
Features
✨ Simple, intuitive gameplay
⏱️ Real-time move and match tracking
⏰ Game timer
🔄 Reset button to start a new game
Technology Stack
- React - UI library
- CSS Modules - Scoped styling
Here is the link to the game, enjoy!
Conclusion
It is really helpful to use AI agents to build stuff, but I think that it is really important to understand all the code it generates, so that your own understanding improves. And I think it was always important to read code. It just seems that now there is a lot more code to read than before. Code quality depends on both the AI model and the tool's execution capability - Cline excels because it can actually run code, see errors, and iterate.
Found this helpful? Please share it with someone who also might find it helpful. Would you like more posts from me? Subscribe to the newsletter. Got questions? Send an email to commitnobug@outlook.com.