CodeQuest is a terminal-based puzzle game built entirely with JavaScript and TypeScript, designed to challenge your coding intuition and logic. Each level presents a code snippet with missing pieces—your task is to solve the puzzle and progress through the quest. No browser, no UI—just pure code and brainpower.
- 🧠 Interactive coding challenges in the terminal
- 🧩 Progressive levels with increasing difficulty
- 💡 Real-time feedback and hints
- 🎨 Colorful output using Chalk
- 🛠️ Built with Node.js and TypeScript (no HTML/CSS)
| Technology | Purpose |
|---|---|
| Node.js | Runtime environment for CLI app |
| TypeScript | Type-safe development |
| Inquirer.js | Interactive terminal prompts |
| Chalk | Styled terminal output |
git clone https://github.com/your-username/codequest.git
cd codequest
npm install
▶️ Run the Game
bash
npm start
Or manually compile and run:
bash
npx tsc
node dist/index.js
---
📁 Project Structure
Code
codequest/
├── src/
│ ├── index.ts # Entry point
│ ├── engine.ts # Game logic
│ ├── levels.ts # Puzzle definitions
├── package.json
├── tsconfig.json
🧠 Sample Puzzle
Code
Level 1:
Fill in the missing part: const result = [...___];
Your answer: array
✅ Correct!
📣 Contribute
Want to add new levels or features? Fork the repo and submit a pull request.
Let’s make CodeQuest even more epic.
📜 License
This project is licensed under the MIT License.
🙌 Author
Made with passion by Murad Leveling up one puzzle at a time.
---
If you want, I can also help you generate a cool ASCII logo for the top of the README
or add badges (like build status, version, etc.). Just say the word!