feat: added translation, updated readme
This commit is contained in:
22
README.md
22
README.md
@@ -38,6 +38,7 @@ A terminal-based morse code practice game built with Deno. Improve your morse co
|
||||
- Interactive menu mode (default)
|
||||
- Quick play mode with command-line arguments
|
||||
- Stats viewer
|
||||
- Morse code translator (text ↔ morse)
|
||||
- Built-in morse code reference
|
||||
|
||||
## Installation
|
||||
@@ -64,6 +65,14 @@ deno task start
|
||||
deno run --allow-read --allow-write --allow-env main.ts
|
||||
```
|
||||
|
||||
The interactive menu provides access to:
|
||||
- Start a new game
|
||||
- View statistics
|
||||
- Morse code reference chart
|
||||
- Translator tool (convert between text and morse code)
|
||||
- Reset statistics
|
||||
- Exit
|
||||
|
||||
### Quick Play Mode
|
||||
|
||||
Start a game directly with custom settings:
|
||||
@@ -95,6 +104,19 @@ Display a morse code reference chart:
|
||||
deno task start reference
|
||||
```
|
||||
|
||||
### Translator
|
||||
|
||||
Convert between text and morse code:
|
||||
|
||||
```bash
|
||||
deno task start
|
||||
# Then select "Translator" from the menu
|
||||
```
|
||||
|
||||
The translator allows bidirectional conversion:
|
||||
- Text → Morse Code
|
||||
- Morse Code → Text
|
||||
|
||||
### Reset Statistics
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user