indicators.js 802 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // INDICATEURS
  2. /*
  3. TOTAL
  4. < contient l'influence et la richesse max >
  5. */
  6. const total = { wealth : 100 , influence : 100 };
  7. /*
  8. CLERGE :
  9. - richesse : relatif a la noblesse et au peuple
  10. - influence : relatif a la noblesse
  11. OBJET : { INT: wealth | INT: influence }
  12. */
  13. let clergy = { wealth : 0 , influence : 0 };
  14. /*
  15. NOBLESSE :
  16. - richesse : relatif au clerge et au peuple
  17. - influence : relatif au clerge
  18. - armee : individuel
  19. OBJET : { INT: wealth | INT: influence | INT: army }
  20. */
  21. let nobility = { wealth : 0 , influence : 0 , army : 0 };
  22. /*
  23. PEUPLE :
  24. - richesse : relatif a la noblesse et au clerge
  25. - bien etre : individuel
  26. OBJET : { INT: wealth | INT: wellBeing }
  27. */
  28. let people = { wealth : 0 , wellBeing : 0 };
  29. // Tour de jeu actuel
  30. let round = 0;
  31. // Score actuel
  32. let score = 0;