Skip to content
Permalink
Browse files
package reports status
  • Loading branch information
aa7401 committed Jun 4, 2020
1 parent de5ac80 commit 6e2294df3474e10d7d0b134fc176b44fccdfafe9
Show file tree
Hide file tree
Showing 6 changed files with 269 additions and 170 deletions.
BIN +0 Bytes (100%) .DS_Store
Binary file not shown.
@@ -1,8 +1,17 @@

# TODO

1. set lesson status to done? when final button clicked `lesson_status`.
2. update attempts `cmi.core.lesson_status` add to done button.
3. calculate total time spent `session_time`.
4. replace golf references!
5. replace alerts with `console.error()`.
- Make sure we warn if score not in bounds.
- Display current score on page.
- display pass/fail onscreen.
- calculate total time spent `session_time`.

## Notes

- the `cmi.student_data` section appears to be readonly and trying to write causes issues.

## Moodle SCORM Settings

- Attempts Management: Force new attempt (when previous attempt completes, passes or fails).
- Mastery score overrides status (defaults to yes) means Moodle reports failed attempts.
- The mastery score (pass threshold) is stored in the manifest file (not reported by Moodle).
@@ -10,7 +10,7 @@ score and time. It also includes the addition of a basic "controller" for provid
intra-SCO navigation.
-->

<manifest identifier="com.scorm.golfsamples.runtime.basicruntime.12" version="1"
<manifest identifier="com.template.12" version="1"
xmlns="http://www.imsproject.org/xsd/imscp_rootv1p1p2"
xmlns:adlcp="http://www.adlnet.org/xsd/adlcp_rootv1p2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -22,11 +22,12 @@ intra-SCO navigation.
<schema>ADL SCORM</schema>
<schemaversion>1.2</schemaversion>
</metadata>
<organizations default="golf_sample_default_org">
<organization identifier="golf_sample_default_org">
<title>Golf Explained - Run-time Basic Calls</title>
<organizations default="template_org">
<organization identifier="template_org">
<title>Simple SCORM Template</title>
<item identifier="item_1" identifierref="resource_1">
<title>Golf Explained</title>
<title>Template</title>
<adlcp:masteryscore>40</adlcp:masteryscore>
</item>
</organization>
</organizations>

0 comments on commit 6e2294d

Please sign in to comment.