xxdunedainxx / lindsay-wildlife-treasure-hunt

Treasure hunt game for Lindsay Wildlife
4 stars 0 forks source link

There are two different properties labeled "ArtifactId" #187

Open rjmacleod opened 2 years ago

rjmacleod commented 2 years ago

Artifact ID is currently used to refer to the 2-digit number used for the manual entry number ID system. This starts at 1 and goes to 19.

Artifact ID is also currently used to refer to the index of the current question in the array of questions stored in the database. I.e. the first question in the db is ArtifactId 0, then 1, and so on. This is used when the game controller generates a random sequence for the questions. This starts at 0 and goes to 18.

Proposed solution: rename references to the index of the current question as the Artifact Index, or 'ArtifactIdx'.