GildedRose-Refactoring-Kata/Java
Velizar Todorov 8807cd17ce extend unit tests
2021-11-26 14:17:23 +01:00
..
gradle/wrapper update gradle wrapper & junit5 dependency 2020-06-04 10:22:28 +03:00
src extend unit tests 2021-11-26 14:17:23 +01:00
.editorconfig Add editorconfig file for Java 2021-05-21 10:40:09 +02:00
.gitignore add gradle build capabilities 2019-11-18 17:42:08 +01:00
build.gradle update gradle wrapper & junit5 dependency 2020-06-04 10:22:28 +03:00
gradlew add gradle build capabilities 2019-11-18 17:42:08 +01:00
gradlew.bat add gradle build capabilities 2019-11-18 17:42:08 +01:00
pom.xml Fix Maven warnings 2021-11-16 15:19:03 +01:00
readme.md 📚 update readme.md 2021-11-25 16:05:42 +01:00
settings.gradle add gradle build capabilities 2019-11-18 17:42:08 +01:00

Gilded Rose Kata in Java

Forked version of the Gilded-Rose-Refactoring-Kate project, original can be found here.

Notes

Item rules

  • Quality increases or decreases when sell-in days pass or is constant.
  • Quality of an item cannot be negative value.
  • If item is Legendary, it's quality is always 80 and never changes.

Types of items

Item name Quality changes, when day passes Description
Normal Quality decreases by 1;
Quality decreases by 2, when sell-in date approaches
-
Aged Brie Quality increases by 1;
Quality increases by 2, when sell-in date approaches
-
Conjured Quality decreases by 1;
Quality decreases by 4 when sell-in date approaches
-
Backstage Pass Quality increases by 1;
Quality increases by 2 when there are 10 days or less;
Quality increases by 3 when there are 5 days or less;
Quality drops to 0 after the concert.
-
Sulfura Always 80. Never changes Legendary item. Constant quality value.