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

https://github.com/realgarit/orbit-fall

Orbit Fall is a browser-based space game. Pilot ships, engage in real-time tactical combat, mine rare ores, and level up in a persistent cosmic sandbox built with React, PixiJS, and Node.js.
https://github.com/realgarit/orbit-fall

multiplayer-game pixijs react-game socket-io space-mmo typescript

Last synced: 13 days ago
JSON representation

Orbit Fall is a browser-based space game. Pilot ships, engage in real-time tactical combat, mine rare ores, and level up in a persistent cosmic sandbox built with React, PixiJS, and Node.js.

Awesome Lists containing this project

README

          

# Orbit Fall

A 2D space shooter game clone built with modern web technologies.

## Tech Stack

- **Frontend**: React + PixiJS + Vite + TypeScript
- **Backend**: Node.js + Express + Socket.IO + Azure SQL + TypeScript

## Project Structure

```
orbit-fall/
├── packages/
│ ├── frontend/ # React + Vite + PixiJS frontend
│ ├── backend/ # Node.js + Express + Socket.IO backend
│ └── shared/ # Shared types and utilities
```

## Getting Started

### Prerequisites

- Node.js 20.x LTS
- Azure SQL Database (or SQL Server)

### Installation

1. Install dependencies:
```bash
npm install
```

2. Set up environment variables:
- Configure your Azure SQL connection in the environment variables:
- `DB_HOST`: Your SQL Server hostname
- `DB_NAME`: Your database name
- `DB_USER`: Your admin username
- `DB_PASSWORD`: Your password

3. Run the development servers:
```bash
npm run dev
```

Or run them separately:
```bash
npm run dev:frontend # Frontend on http://localhost:5173
npm run dev:backend # Backend on http://localhost:3000
```

## Development

- `npm run dev` - Run both frontend and backend
- `npm run dev:frontend` - Run frontend only
- `npm run dev:backend` - Run backend only
- `npm run build` - Build all packages
- `npm run build:shared` - Build shared package
- `npm run build:frontend` - Build frontend
- `npm run build:backend` - Build backend