GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - freehuntx/flashback: The focus of this project is to bring back old flash games (+ Multiplayer)

BranchesTags
Open more actions menu

Latest commit

 

History

25 Commits
25 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
dumps
dumps
 
 
games
games
 
 
public
public
 
 
src
src
 
 
test
test
 
 
tools/tiny-tanks
tools/tiny-tanks
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
vite.config.ts
vite.config.ts
 
 

Repository files navigation

Flashback

Multiplayer Flash classics, resurrected in the browser.

No game servers exist anymore - so Flashback doesn't need any. The original SWF runs in Ruffle, its socket and HTTP traffic is intercepted in the page, and one player's browser acts as the game server. Everyone else connects to it peer-to-peer via Trystero (WebRTC). If the host closes their tab, the server state migrates to another player and the game keeps going - the SWFs never notice a thing.

Play it: open the gallery, pick a game, share the URL (add ?room=yourcode to play in a private room). Every game has its own page, so deep links work: games/stickarena-dimensions/?room=friday-night.

Games

Game Players Notes
Blast Rage Online 2-12 Accounts, rooms, three game modes, encrypted gameplay relay
Stick Arena: Dimensions 2-6 Accounts, shop, cred tickets, vote-kicks - accounts persist in your browser (localStorage)
Tiny Tanks 2-8 Player-hosted rooms over emulated RTMFP, accounts, shop, level vault - accounts persist in your browser
BomberPengu 2 Head-to-head bomberman duels
Minigolf: Tropical Island 2-4 18 holes, lobby chat, rematches

Repository layout

index.html               The gallery (game boxes -> per-game pages)
games/<id>/index.html    One real page per game (deep-linkable, fullscreen)
src/flashnet/            The network lib: virtual sockets/HTTP, host election,
                         state migration, Trystero bridge
src/games/<id>/          Per-game server emulation (game.ts) + wiring (main.ts)
src/gallery/             Gallery UI + game registry
public/games/<id>/       Game assets (SWFs, maps, configs)
tools/<id>/              SWF patch tooling, for games that need one
test/                    Protocol + migration integration tests (Node)
reference/               Reverse-engineering material (decompiled dumps)
.github/workflows/       GitHub Pages deployment

Development

npm install
npm run dev        # gallery at http://localhost:5173, games under /games/<id>/
npm test           # lib smoke tests + per-game protocol/migration tests
npm run build      # typecheck + production build into dist/

Useful query params on game pages: ?room=<code> (private room), &debug (full packet log), &name=<name> where supported.

Deployment

Pushing to main/master builds and deploys to GitHub Pages via .github/workflows/deploy.yml (enable Pages with source "GitHub Actions" in the repository settings once). The base path is derived from the repository name automatically.

Adding a game

  1. Reverse-engineer the protocol (Ruffle + &debug logging is your friend; a community private-server implementation is gold).
  2. Implement it as a GameServer in src/games/<id>/game.ts - defineGame({ endpoints, statefulMigration, http, createServer }).
  3. Add wiring (main.ts), a page (games/<id>/index.html), assets (public/games/<id>/), a registry entry (src/gallery/games.ts), a Vite input (vite.config.ts) and an integration test (test/<id>.test.mjs).

Some games use Flash features Ruffle doesn't have. Tiny Tanks networks over Adobe Cirrus (RTMFP peer-to-peer NetStreams), so tools/tiny-tanks/ patches its SWF: a small AS3 shim replaces flash.net.NetConnection/NetStream and talks to a per-page router (src/games/tiny-tanks/rtmfp.ts) that carries the streams over the bridge. Rebuild with FFDEC_HOME=/path/to/ffdec tools/tiny-tanks/build.sh (needs Java, Node and an FFDec distribution with its flashlib/).

All games belong to their original creators. Flashback exists so they can still be played.

About

The focus of this project is to bring back old flash games (+ Multiplayer)

freehuntx.github.io/flashback/

Topics

bombermancsharpflashjavascriptmultiplayerruffletypescript

Resources

Readme
Activity

Stars

10 stars

Watchers

1 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.