Coder Social home page Coder Social logo

reactgate's People

Contributors

alucard87pl avatar kuboczoch avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

kuboczoch

reactgate's Issues

hosting project on github.io

So I found this: https://github.com/gitname/react-gh-pages

In there it's possible to have the project hosted on github.io Pages, but it does that in a fresh repo.

Need to figure out how to link the EXISTING codebase so that it's shown on alucard87pl.github.io/reactgate without renaming/recreating the current repo.

Implement Address checking and Address list

TODO:

  • Known Address list
  • Randomly generated, hidden list of valid addresses

Rationale:

It is currently possible to dial all six symbol combinations (exluding using the Earth glyph, as that is the PoO) which gives 38 * 37 * 36 * 35 * 34 * 33 = 1987690320, nearly TWO BILLION. If manual Gate positioning and glyph locking was a thing, in the current version of the sim, it would give 38^7=114415582592 more than fifty-five times more.

Favicon and website title

What to add?
A favicon and change website title to e.g. ReactGate

Why should we add it?
Professionalism.

Additional context
image

two children with same key issue

AddressList.js#L49

key={label + "-g" + value.indexOf(e)} //need to figure how this can be non-duplicating

key has to be unique, otherwise:

Warning: Encountered two children with the same key, `397d5cd90d26-g4`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted โ€” the behavior is unsupported and could change in a future version.
    in div (at AddressList.js:44)
    in div (at AddressList.js:40)
    in button (created by Button)
    in Button (at AddressList.js:39)
    in div (at AddressList.js:36)
    in div (created by Alert)
    in Transition (created by Fade)
    in Fade (created by Alert)
    in Alert (at AddressList.js:31)
    in AddressList (at MainContainer.js:171)
    in div (created by Col)
    in Col (at MainContainer.js:170)
    in div (created by Row)
    in Row (created by Bootstrap(Row))
    in Bootstrap(Row) (at MainContainer.js:169)
    in div (created by Container)
    in Container (at MainContainer.js:156)
    in MainContainer (at App.js:5)
    in App (at src/index.js:7)

Need to figure out how to create a unique numbering scheme for each glyph image in each address, something along the lines of label-gX where X is consecutive from 1 to 6

moving assets out of /public to /src

Currently all the glyphs are contained in /public/vfx and referenced in code via

import glyphs from './glyphs';

glyphs.js is a file storing an array of JSON objects:

export const glyphs = [
  { id: 1, src: "./vfx/glyphs/glyph1.png", description: "Earth" },
  { id: 2, src: "./vfx/glyphs/glyph2.png", description: "Crater" },
...
  { id: 39, src: "./vfx/glyphs/glyph39.png", description: "Leo" },
];

export default glyphs;

For reasons beyond my comprehension, these files can't be held in /src because then importing doesn't work quite as well.

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.