https://github.com/muradisazade777/codequest-ts
Hello everyone! Here I used TS and his modules. This game might be interesting for you.
https://github.com/muradisazade777/codequest-ts
game javascript json json-server library nodejs tyepscript
Last synced: 4 months ago
JSON representation
Hello everyone! Here I used TS and his modules. This game might be interesting for you.
- Host: GitHub
- URL: https://github.com/muradisazade777/codequest-ts
- Owner: MuradIsazade777
- License: mit
- Created: 2025-09-03T09:23:34.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-09-29T15:02:51.000Z (5 months ago)
- Last Synced: 2025-09-29T17:11:40.760Z (5 months ago)
- Topics: game, javascript, json, json-server, library, nodejs, tyepscript
- Language: TypeScript
- Homepage:
- Size: 1.56 MB
- Stars: 14
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ฎ CodeQuest: A JavaScript Puzzle Adventure
**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.
---
## ๐ Features
- ๐ง 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)
---
## ๐ ๏ธ Technologies Used
| Technology | Purpose |
|--------------|----------------------------------|
| **Node.js** | Runtime environment for CLI app |
| **TypeScript**| Type-safe development |
| **Inquirer.js**| Interactive terminal prompts |
| **Chalk** | Styled terminal output |
---
## ๐ฆ Installation
```bash
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!