@abenzine/guess-the-number
v1.0.7
Published
A simple game where you must find the secret number using hints.
Readme
🔢 Guess The Number (@abenzine/guess-the-number)
A simple game where you must find the secret number using hints.
📦 Installation
npm install @abenzine/guess-the-number🚀 Usage
import { GuessTheNumberComponent } from "@abenzine/guess-the-number";<guess-the-number></guess-the-number>⚙️ Inputs
| Input | Type | Description |
| ------------ | ---------------------------- | ---------------------- |
| translations | GuessTheNumberTranslations | Override default texts |
🌍 Translations
export interface GuessTheNumberTranslations {
title?: string;
startGame?: string;
restartGame?: string;
resumeGame?: string;
pauseGame?: string;
secretCodeLabel?: string;
attemptsLabel?: string;
inputPlaceholder?: string;
guessAlreadyTried?: string;
submitGuess?: string;
attemptsHistoryLabel?: string;
isLess?: string;
isGreater?: string;
isEqual?: string;
gameWonMessage?: string;
instructions?: string;
}✨ Features
- Simple gameplay
- Hot/Cold hints
- Attempts tracking
- Timer
🛠️ Peer Dependencies
- Angular 21+
- Angular Material
