# Crack the Code V1

**Category:** Eggdrop_Bot
**Original Author:** TALES

## Description
This is a Tcl script for Eggdrop bots that implements a number guessing game where players try to guess a six-digit code composed of numbers between 0 and 6, with hints provided every 20 seconds. The bot keeps track of scores and provides top scorers.

## Key Features
- **Game Mechanism:** Players start the game by sending `!ctc` in the channel.
- **Code Generation:** The bot generates a six-digit code randomly.
- **Hint System:** Hints are provided every 20 seconds until the player guesses correctly or runs out of hints.
- **Score Tracking:** Scores and top players are recorded in a file.
- **Language Support:** Supports three languages: Dutch, English, and German.

## File Analysis
- **ctc.tcl** — Main script implementing the game logic, including code generation, hint provision, and score tracking.
- **ctc.desc** — Documentation for the script, explaining how to use it and credits for contributors.
- **ctcscores.txt** — File used to store scores of players.