Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    ElektraEschalier
    @ElektraEschalier
    hello?
    hopeofsolace
    @hopeofsolace
    hi
    ElektraEschalier
    @ElektraEschalier
    Created repos: Lepton & Gamma
    ElektraEschalier
    @ElektraEschalier

    Lepton is the main server, and Gamma is the engine. Note: DO NOT DOWNLOAD Gamma DIRECTLY.

    Once you have Lepton, open Command Prompt, go to Lepton, and then use:

    npm install

    This will download Gamma and load it into the node_modules folder.

    Before running:

    npm build

    OR:

    node build.js

    To run:

    npm start

    OR:

    node index.js
    ElektraEschalier
    @ElektraEschalier

    Challenges

    Challenges is now here or http://lepton5628.github.io/challenges.
    Still having problems with it though... sizing issues.
    hopeofsolace
    @hopeofsolace
    i will be able to work on the challenges soon and could you explaine what gamma and lepton do?
    ElektraEschalier
    @ElektraEschalier
    Lepton is the game server, which handles the brunt of the work, and serves up the client.
    Gamma is the game engine. It works in the backend. Has maps, mechanics, etc. Basically systems.
    hopeofsolace
    @hopeofsolace
    i see.oh btw currently testing my first solution for chal1
    ElektraEschalier
    @ElektraEschalier
    By the way, sometime plz open cmd prompt, type node -v & send result. Thx.
    hopeofsolace
    @hopeofsolace
    one sec
    here is the result v0.12.7
    could you explain this code:Math.floor((Math.random() * 100) + 1);
    ElektraEschalier
    @ElektraEschalier
    Math.random() returns a number between 0 and 1. Possible values such as: 0.575845, 0.566, 0.44, 1, etc.
    Math.random() * 100 is multiplying the result of Math.random() by 100. So 0.575845 -> 57.5845. The + 1 is to make sure that the value that comes out is > 0.
    Math.floor() is removing everything after the decimal point. So 57.5845 -> 57.
    hopeofsolace
    @hopeofsolace
    yes i understood it!
    will now get to work applying that to the challenge
    ElektraEschalier
    @ElektraEschalier
    Current version of NodeJS is: v4.1.1. You might want to update. If you do, http://nodejs.org has downloads.
    hopeofsolace
    @hopeofsolace
    thanks
    updated
    ElektraEschalier
    @ElektraEschalier
    Alright. Moved challenges to http://lepton5628.github.io/challenges.
    hopeofsolace
    @hopeofsolace
    going to take quick break
    ElektraEschalier
    @ElektraEschalier
    turning in for the night
    ElektraEschalier
    @ElektraEschalier
    back again
    ElektraEschalier
    @ElektraEschalier
    Merged Gamma -> Lepton. Deleted Gamma.
    hopeofsolace
    @hopeofsolace
    going to start on the coding again
    ElektraEschalier
    @ElektraEschalier
    When you are done, please post the solution.
    This message was deleted
    ElektraEschalier
    @ElektraEschalier
    This message was deleted

    Should I do spoilers as such: (just a test. no real spoilers)

    !>Spoilers                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ... ... ... ... Where spoilers would go ... ... ... ...

    for challenges?

    ElektraEschalier
    @ElektraEschalier
    How are you doing?
    hopeofsolace
    @hopeofsolace
    hey
    ElektraEschalier
    @ElektraEschalier
    'Ello? Anyone ere?
    ElektraEschalier
    @ElektraEschalier
    'Ello? Anyone ere? Date: 16 September 2017