GithubHelp home page GithubHelp logo

invaders's Issues

can't move and shoot at the same time

in the current game, we can hold left/right to move the spaceship. However, once we pressed the shoot button, the spaceship stopped despite of us still holding the left/right key.

How can we modify the match key_event.code logic to make it support the move and shoot simultaneously? @CleanCut

Error when moving

I get the following error when the invaders move "down"

thread 'main' panicked at 'index out of bounds: the len is 40 but the index is 40', src/invaders.rs:75:9

chore: Couldn't find audio file to add: Os

I ran cargo build && cargo build --release and after I did cargo run and I received this error

{ code: 2, kind: NotFound, message: "No such file or directory" }', /Users/{userName}/cargo/registry/src/github.com-1ecc6299db9ec823/rusty_audio-1.2.1/src/lib.rs:79:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

My cargo.toml is like this
[dependencies] crossterm = "0.20.0" rusty_audio = "1.2" rusty_time = "0.11"

Is the game fully blind-accessible?

Hello. When playing this game, can I rely on the stereo position of the invader by sound? I am blind and use a screenreader and wander if this game is audio-only.

Sound Archives

If you want the sounds, but don't want to clone the repository, here are all the sounds in two different archive formats (the sound files are the same):

Emojis

I tried running this using emojis instead of ascii characters, but it's causing rendering issues. In Windows terminal, when an emoji is removed from a coordinate, it leaves behind a smaller version of that emoji. In VS Code integrated terminal, it just doesn't show up in it's new spot after being moved.
The weird part is that in both of these issues only happen when the symbols are moved up, down, or left. Moving right renders correctly.

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.