Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hathora/builder
Multiplayer game framework
https://github.com/hathora/builder
framework game gamedev multiplayer networking realtime websocket
Last synced: 3 months ago
JSON representation
Multiplayer game framework
- Host: GitHub
- URL: https://github.com/hathora/builder
- Owner: hathora
- License: mit
- Created: 2020-03-21T22:11:06.000Z (almost 5 years ago)
- Default Branch: develop
- Last Pushed: 2024-04-10T13:35:45.000Z (10 months ago)
- Last Synced: 2024-05-02T02:06:29.413Z (9 months ago)
- Topics: framework, game, gamedev, multiplayer, networking, realtime, websocket
- Language: Handlebars
- Homepage: https://docs.hathora.dev/#/builder/
- Size: 4.73 MB
- Stars: 541
- Watchers: 15
- Forks: 35
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Roadmap: docs/roadmap.md
Awesome Lists containing this project
README
# Hathora Builder - multiplayer game framework
## Overview
The Hathora Builder is a framework for building multiplayer games and other realtime applications.
## Documentation
Visit https://docs.hathora.dev/#/builder/
## Quick start
First, make sure you have node v16.12.0+ installed.
Then install the hathora cli from the npm registry:
```sh
npm install -g hathora
```Clone an example hathora game:
```sh
git clone https://github.com/hathora/ship-battle.git
```Inside the `ship-battle` directory, start the Hathora dev server:
```sh
hathora dev
```Finally, visit http://localhost:3001 to see the game in action (add multiple users by opening the same url in different tabs):
> Instructions: Arrow keys to move, space bar to fire.
![image](https://user-images.githubusercontent.com/5400947/149647035-91442df6-73d6-4b55-ae30-f3862e8b5c8b.png)
For a deeper introduction, take a look at the [tutorial](https://docs.hathora.dev/#/builder/tutorial_among_us).
## Examples
Here are some other example apps built with hathora:
- [avalon](examples/avalon)
- [chess](examples/chess)
- [codenames](examples/codenames)
- [poker](examples/poker)
- [rock-paper-scissor](examples/rock-paper-scissor)
- [uno](examples/uno)
- [tussie-missue](https://github.com/hpx7/tussie-mussie)
- [hive](https://github.com/knigam/hive)## Community
Discord: https://discord.com/invite/hathora
## Contributing
To contribute to Hathora, first clone the repo:
```sh
https://github.com/hathora/hathora
```Make sure you have `ts-node` installed globally:
```sh
npm install -g ts-node
```You can now invoke your local hathora cli as follows:
```
ts-node /path/to/hathora/cli.ts dev
```