rictic / airlock.chat Goto Github PK
View Code? Open in Web Editor NEWAn exercise in learning wasm and rust and game development by cloning the game among us
Home Page: https://airlock.chat/
License: Apache License 2.0
An exercise in learning wasm and rust and game development by cloning the game among us
Home Page: https://airlock.chat/
License: Apache License 2.0
A basic chat interface, with the ability to send, receive, and display messages.
Lots of options for how. Could implement this part in JS and call into with the Rust for communication
To keep things simple for now, we'll start with a centralized server that rebroadcasts messages. This emulates a peer to peer system like WebRTC but without the complexity of getting a WebRTC connection established.
From here we could go full centralized, where the server maintains a sim of the game and can e.g. reject cheating, or we can go the fully peer to peer route
Good first bug for someone who wants to learn about async in Rust!
I have basically no idea how the current server works, it's mostly just adapted from https://github.com/snapview/tokio-tungstenite/blob/master/examples/server.rs
Would you consider a name-change? Rust Us is fine, but it's not very searchable and the relation to Among Us is not clear until actually reading the description. I thought maybe the us in rust-us stood for US(A) when I first found it.
Some suggestions:
Add the ability for a player to kill another.
Add a new button input Q
to kill. The simplest initial thing would be to then find the closest other player, and if within a certain distance of that player, that player is deleted.
(lots of stuff to add on top of this eventually of course, bodies, ghosts, only imps can kill, etc)
Allow the community to create their own maps.
What do people think about that change?
A player shouldn't be allowed to kill more often than once every K ms
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.