Skip to content

AlejoVE/mwenbwa_mern

Repository files navigation

Mwenbwa

Mwenbwa is a WebApp that consist in an online IDLE Game, based in Liège. We developed this app as part of the web development training at BeCode - Liège.

Features:

A player can:

  • Buy a tree.
  • Lock a tree.
  • Leave comments on trees.
  • See tree's owners history.
  • See Gamelog.
  • See Leaderboard.
  • Set theme color.

Every fifteen minutes in real life, each player will receive an amount of leaves equals to the total of each of his trees.

Every hour in real life, each player loose half his leaves.

Formulas:

  • Calculate value of a tree: is the product of his diameter by his height, rounded to top. Example: a tree of 9m of diameter and 17.3m of size will have a value of (9 × 17.3 = 155.7 ≈ 156) 156 leaves.

  • Bonues leaves: [total leaves of players] / [amount of players] .

  • Calculate price of tree if owned: [value of the targetted tree] + ([value of all the targetted player's trees in 100m radius] × ([amount of trees in 100m radius] / [amount of tree of targetted player in 100m radius])) + [value of all the other players trees in 100m radius] - [value of all your tree in 100m radius]

  • To lock a tree: [value of the tree] × 10 + ([value of all the trees in 100m radius] × [amount of players in 100m radius]) - ([value of all player's trees in 100m radius] / [amount of players in 100m radius])

Screenshots:

Register form homepage homepage Gamelog Leaderboard

Technologies:

  • HTML5
  • CSS
  • React
  • NodeJS
  • Express
  • JWT
  • Leaflet
  • Redux
  • MongoDB
  • Heroku
  • Docker
  • Webpack

Developers

License

MIT licensed.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages