JSCode randomly selects a scenario that Lecotra presents to player, details of scenario are stored in an array (Character,LengthInDays,RatePerDay,StartDay,SpacesNeeded,Played). Player Accepts or Rejects scenario. If Rejected, game presents another scenario. If Accepted, JSCode determines if requirements of scenario can be met - start day, number of days, and number of spaces. If scenario can be met, values are loaded in variables that are accessed and displayed by Lectora. If scenario cannot be met, appropriate message is displayed by JSCode. Play continues until all scenarios have been selected and presented.
Function saveScen() currently supports validating one space is available on the start day and is available for the number of days needed. For example, is there a space available for three days starting on Tuesday?
Need to modify function saveScen() to allow for a request that combines multiple spaces for one or more days. For example, are there two spaces (Space 1 and Space 2 -OR- Space 2 and Space 3) available for two days starting on Thursday? Up-to three spaces may be needed to match the scenario needs - (StartDay, Length, Number of Spaces).
5 freelancere byder i gennemsnit $126 på dette job
Greetings! I have good knowledge of eLearning course authoring tools. Have created many html widgets and interactions through the tool API. It would be great if we can provide us more details, I can help. Thanks!