Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
feat: Implement MP using PlayerIO (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
freehuntx authored Dec 2, 2024
1 parent f1b9769 commit ede29fb
Show file tree
Hide file tree
Showing 118 changed files with 13,608 additions and 775 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- master

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install Yarn
run: npm install -g yarn

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build
run: yarn build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist # or your build output directory
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
dist
node_modules

.env
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ Visit https://freehuntx.github.io/bomberpengu to play the game
Ruffle is **the** flash emulator for javascript. It makes all of this possible.
#### [Trystero](https://github.com/dmotz/trystero)
Trystero makes networking between browsers possible without the need of own servers! Basically multiplayer for free! (Using WebRTC and various free ways to signal)

#### [PlayerIO](https://playerio.com)
PlayerIO makes it easy to implement authoritated multiplayer systems.
282 changes: 0 additions & 282 deletions docs/BomberPengu.js

This file was deleted.

25 changes: 0 additions & 25 deletions docs/EventEmitter.js

This file was deleted.

13 changes: 0 additions & 13 deletions docs/index.html

This file was deleted.

Loading

0 comments on commit ede29fb

Please sign in to comment.