Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Alibh Deori
    @livzz
    can someone please help me understand what I am doing wrong
    why does the else if condition become false after every warrior.rest()
    I am stuck in level 4
    Brad Compton (he/him)
    @Bradcomp
    @livzz I would suggest this piece might be the culprit: this._health==warrior.health(). You may want to rest if this._health <= warrior.health() instead. Not positive though.
    Alibh Deori
    @livzz
    ok thx..!!
    Ayo Alfonso
    @AyoAlfonso
    after installing node.js
    what do i do ?
    dapperAuteur
    @dapperAuteur
    @AyoAlfonso did you run 'npm install -g warriorjs' ?
    Visit the GitHub page for warriorjs it will walk you through it
    Ayo Alfonso
    @AyoAlfonso
    I did. The node command line just kept loading thats all
    dapperAuteur
    @dapperAuteur
    What do you mean kept loading? What version of node & npm do you have installed? Run 'node -v' & 'npm-v' to find out. What OS is on your work station?
    Matías Olivera
    @olistic
    @AyoAlfonso Please let me know if you're still having issues and I will try to help you out
    @/all I think this is a good place to ask because I believe everybody here has a genuine interest in the game and some of you have already asked for missing features etc. So, any feedback you could give on the general gameplay, units, abilities, levels, etc. would be much appreciated!
    Ayo Alfonso
    @AyoAlfonso
    @olistic thank you! Can you do a screencast of the installation of the script on node.
    Alibh Deori
    @livzz
    @AyoAlfonso A debugger would be nice
    Ayo Alfonso
    @AyoAlfonso
    I actually got it to work
    @livzz really which do you recommend, because that means it would have to be reading my activities on cmd
    lixuejiang
    @lixuejiang
    hi
    buoyantair
    @buoyantair
    Hi
    I found this thing via gitter chat, is there a website?
    :3
    Dimitri van der Vliet
    @DimitrivanderVliet
    Awesome game
    pixelpunch
    @pixelpunch
    I have just installed the game. Everything went fine and it created the 'warriorjs' directory, but the directory is empty. How do I fix this?
    buoyantair
    @buoyantair
    wow this is like so slow chat
    JestDotty
    @JestDotty
    not much to discuss, tbh
    TommyDong1998
    @TommyDong1998
    hi
    Punita Ojha
    @punitaojha
    This message was deleted
    linkin-park
    @linkin-park
    its mere copy of ruby warrior
    lame!
    Daniel Perez Alvarez
    @danielpa9708
    hello
    what's the highscore ?
    Daniel Perez Alvarez
    @danielpa9708
    playing the game with typescript :)
    David Perez Alvarez
    @davidpa9708
    beated the game with typescript :muscle:
    good game :+1:
    after reaching lvl 10 an going epic mode it ends
    could it have more lvls
    and be a litle more complexe
    ?
    Renato Marinho
    @renatomarinho
    This message was deleted
    yigbau
    @yigbau
    Hey, great game! how ever I can't pass level 4 - begginer.. no matter what I do the archer kills me. can someone help me?
    yigbau
    @yigbau

    class Player {

    playTurn(warrior) {

    if (warrior.health() >= 20){
        warrior.walk();
    } else if (warrior.feel().isEmpty()){
    
    if (this.health == warrior.health()){
        warrior.walk();
    }        else {
    warrior.rest();
    }
    } else (warrior.attack())
    
    this.health=warrior.health();

    }
    }

    Renato Marinho
    @renatomarinho
    This message was deleted
    Nelson Javier Castellanos garzon
    @nelsonCastellanos
    Hello
    ElonSatoshi
    @ElonSatoshi
    hey Nelson
    Sergey Egorov
    @marienhof
    What tool should I use for making a minimalist 2D game with JavaScript for web, iOS and Android? The most crucial thing in a tool for me is how great it is in terms of learning resources around it — gamedev tutorials and community. I picked JavaScript because I love FreeCodeCamp and Odin Project — IMHO the best learning resources in software engineering. The game I wanna make is metroidvania with a twist: instead of going through dungeons yourself, you create cool robots that go through dungeons for you.
    ElonSatoshi
    @ElonSatoshi
    Shouldn't } else (warrior.attack()) be } else {warrior.attack()}?
    ElonSatoshi
    @ElonSatoshi
    @yigbau first of all, I think your warrior only feels in front of him if he's been damaged
    which causes him to bump into enemies before ataccking them, giving the enemies a free turn
    Also, the warrior's health would never go above 20, so I don't know why you have if (warrior.health() >= 20)
    ElonSatoshi
    @ElonSatoshi
    oh, that was from may 2018... Is anyone alive in here?
    whitesnow0321
    @whitesnow0321
    hello everybody.
    rtmcoder
    @rtmcoder
    @olistic I am a total newbie. How can I launch ur game?