Skip to content

MuradIsazade777/CodeQuest-TS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ 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

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!

About

Hello everyone! Here I used TS and his modules. This game might be interesting for you.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published