terminull-arcade 0.0.0-stage → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +9 -0
- package/README.md +100 -2
- package/dist/chunk-WCZVPTEK.js +3294 -0
- package/dist/chunk-WCZVPTEK.js.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +154 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +535 -0
- package/dist/index.js +66 -0
- package/dist/index.js.map +1 -0
- package/package.json +68 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Terminull Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,101 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Terminull Arcade
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Enter the Terminull. Play beyond the prompt.
|
|
4
|
+
|
|
5
|
+
Terminull Arcade is a curated suite of original terminal games engineered for modern command-line environments. It features a unified engine, persistent profiles, accessible color themes, deterministic test seeds, and keyboard-first controls.
|
|
6
|
+
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
Launch the interactive arcade launcher directly with `npx`:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx terminull-arcade
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Or install locally for development:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
pnpm install
|
|
19
|
+
pnpm build
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## CLI Commands
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
# Launch interactive menu
|
|
26
|
+
npx terminull-arcade
|
|
27
|
+
|
|
28
|
+
# List all games in the catalog
|
|
29
|
+
npx terminull-arcade list
|
|
30
|
+
|
|
31
|
+
# Play a specific game directly
|
|
32
|
+
npx terminull-arcade play packet-man
|
|
33
|
+
npx terminull-arcade play neon-circuit
|
|
34
|
+
npx terminull-arcade play byte-runner --difficulty hard
|
|
35
|
+
|
|
36
|
+
# View career telemetry and unlocked achievements
|
|
37
|
+
npx terminull-arcade stats
|
|
38
|
+
|
|
39
|
+
# Reset high scores and profile
|
|
40
|
+
npx terminull-arcade reset
|
|
41
|
+
|
|
42
|
+
# Show version and help
|
|
43
|
+
npx terminull-arcade --version
|
|
44
|
+
npx terminull-arcade --help
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## System Requirements for Players
|
|
48
|
+
|
|
49
|
+
### Do other users need Node.js installed?
|
|
50
|
+
- **Yes, users need Node.js (version 18 or newer)** installed on their system.
|
|
51
|
+
- Why? Because `npx` is the package runner that comes included with Node.js and npm.
|
|
52
|
+
- When a user types `npx terminull-arcade`, `npx` automatically downloads the latest package from the npm registry and runs it in their terminal on the fly.
|
|
53
|
+
- **What they DO NOT need**:
|
|
54
|
+
- They do **NOT** need to clone any Git repository.
|
|
55
|
+
- They do **NOT** need to run `git`, `npm install`, or `pnpm`.
|
|
56
|
+
- They do **NOT** need administrator or `sudo` privileges.
|
|
57
|
+
- They do **NOT** need an active internet connection while playing (it runs 100% offline once fetched).
|
|
58
|
+
|
|
59
|
+
If a friend or colleague doesn't have Node.js yet, they can install it in 1 minute:
|
|
60
|
+
- **Windows**: `winget install OpenJS.NodeJS` (or download from [nodejs.org](https://nodejs.org))
|
|
61
|
+
- **macOS**: `brew install node` (or download from [nodejs.org](https://nodejs.org))
|
|
62
|
+
- **Linux**: `sudo apt install nodejs npm`
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Available Arcade Lineup
|
|
67
|
+
|
|
68
|
+
| ID | Title | Genre | Gameplay Inspiration |
|
|
69
|
+
|---|---|---|---|
|
|
70
|
+
| `packet-man` | Packet Man | Arcade | **Pac-Man**: Navigate labyrinths, chomp byte pellets, grab power pellets, and hunt daemons. |
|
|
71
|
+
| `cyber-viper` | Cyber Viper | Arcade | **Snake**: Feast on energy apples, avoid borders and your tail, grab rare golden bonus orbs. |
|
|
72
|
+
| `byte-runner` | Byte Runner | Arcade | **Subway Surfers**: 3-lane infinite runner with lane shifts, jumps, dives, and shields. |
|
|
73
|
+
| `neon-circuit` | Neon Circuit | Puzzle | **Pipe Puzzle**: Rotate circuit conduits clockwise to bridge power cores to targets. |
|
|
74
|
+
| `void-invaders` | Void Invaders | Arcade | **Space Invaders / Galaga**: Maneuver laser gunship and blast descending alien armadas. |
|
|
75
|
+
| `bit-breaker` | Bit Breaker | Arcade | **Breakout**: Angle bouncing balls off your paddle to smash multi-colored brick walls. |
|
|
76
|
+
| `stack-tower` | Stack Tower | Puzzle | **Tetris / Stacker**: Rotate and drop geometric shapes into complete lines for combos. |
|
|
77
|
+
| `data-hopper` | Data Hopper | Arcade | **Frogger**: Hop across busy highways and floating river streams to reach home safely. |
|
|
78
|
+
| `flappy-byte` | Flappy Byte | Arcade | **Flappy Bird**: Tap space to flap through narrow pipe gaps and chase high score streaks. |
|
|
79
|
+
| `cyber-pong` | Cyber Pong | Arcade | **Pong**: High-speed paddle deflection rally against a smart AI opponent. |
|
|
80
|
+
| `meteor-drift` | Meteor Drift | Arcade | **Asteroids**: 360-degree inertia drift and shoot floating space rocks into dust. |
|
|
81
|
+
| `core-defuser` | Core Defuser | Puzzle | **Minesweeper**: Uncover safe number tiles and flag hidden explosive cores. |
|
|
82
|
+
|
|
83
|
+
## Shared Engine Architecture
|
|
84
|
+
|
|
85
|
+
- **Profile Storage**: Stored at `~/.config/terminull/profile.json` using Zod schema validation.
|
|
86
|
+
- **Themes**: Default (Cyan/Magenta), CRT Phosphor Green, Electric Neon, Monochrome Minimal, High-Contrast Accessibility.
|
|
87
|
+
- **RNG**: Deterministic Mulberry32 generator with seedable states for reproducible testing.
|
|
88
|
+
- **Responsive Layout**: Adapts dynamically with minimal 80x24 window bounds enforcement.
|
|
89
|
+
- **Sound**: Terminal bell notifications (`\u0007`) with toggle support.
|
|
90
|
+
|
|
91
|
+
## Testing & Verification
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
pnpm test # Run Vitest test suite
|
|
95
|
+
pnpm typecheck # Typecheck with TypeScript
|
|
96
|
+
pnpm build # Compile production bundle with tsup
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## License
|
|
100
|
+
|
|
101
|
+
MIT © Terminull Contributors
|