An open API service indexing awesome lists of open source software.

https://github.com/thred/eulencom


https://github.com/thred/eulencom

Last synced: 20 days ago
JSON representation

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! 🎮