This website is based on the upcoming changes of the elabs Rails engine. Everything's not fine, but you can see the changes coming in the next releases.

Legal stuff about this site and your private life:

  • We use a cookie to keep your preferences (language, NSFW status, login status) during navigation.
  • We use your local storage to save the announces you closed (like this one).
  • We don't save informations you don't give
  • We don't share your email address if you comment or register
  • There is no tracker of any kind.

If you're not OK with this, move your way.

Challenge for FreeCodeCamp using React

Users stories from FreeCodeCamp

  • Objective: Build a app that is functionally similar to this:
    • Rule #1: Don't look at the example project's code. Figure it out for yourself.
    • Rule #2: Fulfill the below user stories. Use whichever libraries or APIs you need. Give it your own personal style.
    • Rule #3: You must use both Sass and React to build this project.
    • User Story: I have health, a level, and a weapon. I can pick up a better weapon. I can pick up health items.
    • User Story: All the items and enemies on the map are arranged at random.
    • User Story: I can move throughout a map, discovering items.
    • User Story: I can move anywhere within the map's boundaries, but I can't move through an enemy until I've beaten it.
    • User Story: Much of the map is hidden. When I take a step, all spaces that are within a certain number of spaces from me are revealed.
    • User Story: When I beat an enemy, the enemy goes away and I get XP, which eventually increases my level.
    • User Story: When I fight an enemy, we take turns damaging each other until one of us loses. I do damage based off of my level and my weapon. The enemy does damage based off of its level. Damage is somewhat random within a range.
    • User Story: When I find and beat the boss, I win.
    • User Story: The game should be challenging, but theoretically winnable.

Leave a comment

You want to react to this content or ask something to the author? Just leave a comment here!

Note that the comments are not publicly visible, so don't worry if you don't see yours.

All the information you give will only be visible to the author. We don't share anything with anyone.

Don't fill this field if you want this form to be saved.