Team Ai
Apppublic

Cybersharp/the-programmers-game

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

The Programmer's Game

A chaotic programming puzzle game inspired by The Password Game. Stack logic, code challenges, and cyber attacks as you survive 11 escalating levels. Fail onceβ€”reset all! Can you reach the end?

[image]

πŸš€ Overview

The Programmer's Game is a browser-based code puzzle challenge where each level introduces a new rule or twist. Your goal: solve the puzzle, adapt to new constraints, and survive increasingly wild programming scenarios. From recursion traps and regex nightmares to simulated cyber attacks β€” only true code wizards reach the end.

✨ Features

  • β€”11 Levels: Each adds a new rule, from simple logic to mind-bending chaos.
  • β€”Stacking Constraints: All previous rules remain active. Adapt or perish!
  • β€”Real-Time Feedback: Immediate validation and guidance as you play.
  • β€”Beautiful UI: Modern, production-quality design using React, Tailwind CSS, and Lucide icons.
  • β€”Shareable: Challenge friends and show off your high scores.

πŸ–₯️ Tech Stack

🌐 Live Demo

Try it now: the-programmers-game.vercel.app

πŸ–ΌοΈ Screenshots

Terminal Output View <a href="https://ibb.co/TqBYLFJz"><img src="https://i.ibb.co/wrNBsx8D/output-terminal.png" alt="output-terminal" width="600"></a> Shows the in-game terminal where code output and system feedback are displayed during gameplay.

Code Editor and Input Panel <a href="https://ibb.co/wZD6wmsv"><img src="https://i.ibb.co/qLb1WQ5Z/code-menitor-and-input-panel.png" alt="code-menitor-and-input-panel" width="600"></a> Displays the code editor and input panel interface where users write and test their solutions.

Instructions Panel <a href="https://ibb.co/7NWhNfXc"><img src="https://i.ibb.co/2YtJY9y2/instructions.png" alt="instructions" width="600"></a> Presents the step-by-step instructions or rules for the current level/challenge.

Gameplay - Level with Multiple Rules <a href="https://ibb.co/PzC80fyj"><img src="https://i.ibb.co/7NyFL6DC/screencapture-the-programmers-game-vercel-app-2025-06-25-14-31-53.png" alt="game screenshot 1" width="600"></a> An in-game screenshot showing the main gameplay area with stacked rules and coding constraints visible.

Gameplay - Challenge Progression <a href="https://ibb.co/xtNQGYxy"><img src="https://i.ibb.co/9k7j2hQJ/screencapture-the-programmers-game-vercel-app-2025-06-25-14-31-22.png" alt="game screenshot 2" width="600"></a> Shows a different stage of gameplay, highlighting progression through challenges and interface elements.

πŸ› οΈ Local Development

bash
# 1. Install dependencies
npm install

# 2. Start the development server
npm run dev

# 3. Open in your browser
http://localhost:5173

πŸ“ Project Structure

.
β”œβ”€β”€ public/             # Static assets
β”œβ”€β”€ src/                # Source code
β”‚   β”œβ”€β”€ components/     # Reusable React components
β”‚   β”œβ”€β”€ data/           # Game data, rules, questions, etc.
β”‚   β”œβ”€β”€ hooks/          # Custom React hooks
β”‚   β”œβ”€β”€ types/          # TypeScript types
β”‚   └── utils/          # Utility functions
β”œβ”€β”€ index.html          # HTML entrypoint
β”œβ”€β”€ tailwind.config.js  # Tailwind CSS config
└── README.md           # You are here!

🧩 Gameplay

  • β€”Solve puzzles: Each level presents a new programming challenge or constraint.
  • β€”Stacking rules: All previous rules remain in effect. Survive or reset!
  • β€”Instant feedback: See if your code/answer passes all rules.
  • β€”Endgame: Only the most adaptable programmers make it to Level 11.

πŸ€“ Contributing

  1. 1.Fork this repo
  2. 2.Create your feature branch: git checkout -b feat/my-feature
  3. 3.Commit your changes: git commit -m "Add cool feature"
  4. 4.Push to the branch: git push origin feat/my-feature
  5. 5.Open a pull request!

All PRs should follow the code style (ESLint, Prettier) and pass CI checks.

πŸ“ License

This project is licensed under the MIT License.


Can you beat The Programmer's Game? May your recursion terminate and your regexes never backtrack!