Skip to content

yadokani389/online-breakout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

online-breakout

This is an online game using peer-to-peer connections and iroh without a server.

This project incorporates features from iroh to enable peer-to-peer connections, inspired by the implementation in extreme_bevy and matchbox.

native

To run the native version, execute the following commands:

nix develop
cargo run

After running, retrieve the iroh id from the log.

cargo run -- -i xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

If you are using Nix, you can also run the application without clone:

nix run github:yadokani389/online-breakout

This can be used instead of cargo run.

web

You can play here! https://yadokani389.github.io/online-breakout/

First, access this link and retrieve the iroh id from the Console log. Next, append # and the iroh id to the link and open it in a new window to connect. (e.g., https://yadokani389.github.io/online-breakout/#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)

To run the web version, execute the following commands:

nix develop
cargo run --target wasm32-unknown-unknown

About

An online game using peer-to-peer connections and iroh without a server.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Contributors