Giter Site home page Giter Site logo

rictic / airlock.chat Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 2.0 1.23 MB

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

Rust 94.69% JavaScript 3.40% HTML 0.54% Shell 1.36%
among-us game rust wasm wasm-pack websockets

airlock.chat's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

airlock.chat's Issues

Chat!

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

Add a super basic server

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

Changing the name

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:

  • Among Crabs ๐Ÿฆ€
  • Among Rustaceans
  • Among Rust

Add killing

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)

Add kill cooldowns

A player shouldn't be allowed to kill more often than once every K ms

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.