https://github.com/thred/eulencom
https://github.com/thred/eulencom
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thred/eulencom
- Owner: thred
- Created: 2025-12-23T08:08:09.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-12-23T09:52:38.000Z (6 months ago)
- Last Synced: 2025-12-24T23:47:52.566Z (6 months ago)
- Language: JavaScript
- Size: 46.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The Birthday Surprise
A text-based adventure game demonstration.
## How to Play
### Installation
1. Install dependencies:
```bash
npm install
```
2. Build the game:
```bash
npm run build
```
### Running the Game
Start the web server:
```bash
npm start
```
The game will automatically open in your browser at `http://localhost:8000`
### Game Instructions
You wake up in your bedroom. It's dark, and you hear strange sounds outside your door...
**Basic Commands:**
- `LOOK` - Examine your surroundings
- `GO [direction]` - Move (NORTH, SOUTH, EAST, WEST)
- `TAKE [item]` - Pick up an item
- `USE [item]` - Use an item or interact with something
- `INVENTORY` (or `INV` or `I`) - Check what you're carrying
- `HELP` - Show available commands
- `CLEAR` - Clear the screen
**Tips:**
- Explore your surroundings carefully
- Pay attention to descriptions
- Some items might be hidden under other objects
- Make sure you're presentable before opening doors!
### Development
To rebuild the game after making changes:
```bash
npm run build
```
To watch for changes and rebuild automatically:
```bash
npm run watch
```
## Goal
Find your way out of your bedroom and discover what awaits you outside!
Good luck, and happy adventuring! 🎮