Giter Club home page Giter Club logo

4d-labyrinth's People

Contributors

fizyk20 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

4d-labyrinth's Issues

I propose new levels!!

Hello!!

Really enjoyed your project, it compiled on my Ubuntu in docker without any issues, and even though I don't know Rust, the code was easy to follow to tune colors/opacity etc, and, most importantly, levels.
I understood your levels structure, it was pretty straightforward, thank you.

I propose two new, significantly more difficult levels!

I have generated them, level3.dat and level4.dat, since I found the original two levels too easy to get enough intuition in R^4 from solving them. I hope I can contribute to the project by adding the hard levels.
I attach 4d.cpp, the C++ program I wrote to generate such levels, and level3.dat, level4.dat, two labyrinths (this time real, completely not just a single path). For level 3, n=6 was used. For level 4, n=16 was used. The probability p was taken near the percolation threshold for the 4D lattice (https://en.wikipedia.org/wiki/Percolation_threshold), thus approximately 0.2.
After the generation, I have manually enlarged the blue target tesseract to make it clearly visible from the beginning.
Github doesn't allow to simply attach the files with their natural extensions (cpp, dat, dat, respectively), so I had to edit the extensions to txt to attach...
4d.txt
level3.txt
level4.txt

Hope my little contribution makes this already awesome project even better!

P.S. One minor suggestion: Maybe F/H keybinding should be swapped (at least I found it more convenient after I toggled this in the code)

I cant seem to find the blue thingy

I am presented with an tunnel that is 3 straight parts, but I have traveled all the way and havent found the blue thingy is it "hidden" and I have to go in all heights widths and depths to find it?

Panics with "XOpenIM failed" when launching.

Some googling suggests this might be a locale error, but I've verified with LC_ALL=C and various other combinations to no avail. I'm quite sure that my locales are properly in order.

celti@siduri ~/build/4d-labyrinth/4d-labyrinth :( $ RUST_BACKTRACE=1 target/debug/4d-labyrinth 
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: BackendCreationError(OsError("XOpenIM failed"))', ../src/libcore/result.rs:799
stack backtrace:
   1:     0x55e3bbeb919f - std::sys::backtrace::tracing::imp::write::h22f199c1dbb72ba2
   2:     0x55e3bbebc95d - std::panicking::default_hook::{{closure}}::h9a389c462b6a22dd
   3:     0x55e3bbebb8a2 - std::panicking::default_hook::h852b4223c1c00c59
   4:     0x55e3bbebbe38 - std::panicking::rust_panic_with_hook::hcd9d05f53fa0dafc
   5:     0x55e3bbebbcd2 - std::panicking::begin_panic::hf6c488cee66e7f17
   6:     0x55e3bbebbc10 - std::panicking::begin_panic_fmt::hb0a7126ee57cdd27
   7:     0x55e3bbebbb91 - rust_begin_unwind
   8:     0x55e3bbef2b7f - core::panicking::panic_fmt::h9af671b78898cdba
   9:     0x55e3bbac1914 - core::result::unwrap_failed::h490a74b1527906a3
                        at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/obj/../src/libcore/macros.rs:29
  10:     0x55e3bbaaf40e - <core::result::Result<T, E>>::unwrap::h7ff678d5e2b6e286
                        at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/obj/../src/libcore/result.rs:737
  11:     0x55e3bbb11199 - _4d_labyrinth::main::hba06dc56df0bc70c
                        at /home/celti/build/4d-labyrinth/4d-labyrinth/src/main.rs:44
  12:     0x55e3bbec4426 - __rust_maybe_catch_panic
  13:     0x55e3bbebb121 - std::rt::lang_start::h14cbded5fe3cd915
  14:     0x55e3bbb146f3 - main
  15:     0x7fceec653290 - __libc_start_main
  16:     0x55e3bba90df9 - _start
  17:                0x0 - <unknown>

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.