When you download the prototypes, you have two options:
There are three sample courses included in the download — a golf tutorial, a Tetris game, and a location-based tour of Nashville museums. You’ll find these courses in their respective folders.
To configure them to report statements to an LRS, you need to edit the config.js (rename it from config.js.template to just config.js). You’ll want to change the config file to contain the correct endpoint for the LRS and the actor name and email address. To report to the SCORM Cloud public LRS (viewable in the statement viewer and report sample on this site, or from the statement viewer and report sample in the index.html file you download with the prototypes), use this endpoint:
When reporting to the public LRS, you can leave the authUser and authPassword as their default setting.
The actor line in the config file should look like this, with you replacing the email address and the first/last names:
The registration line in the config file should look like this (you can get a new UUID here):
After you’ve set up the endpoint and the user info, run the index.html file and you can launch the courses or use the statement viewer to view statements. Depending on your web browser security settings, some of the prototypes may not run correctly if you run the html files directly on your computer; you might need to host them on a server.
If you’d like to send statements to your personal SCORM Cloud account, the steps are similar, except you’ll need some info from your SCORM Cloud account. Go to the Apps Section in SCORM Cloud and add a new app. Grab your App ID and Secret Key there, and plug those into your config.js file. For example:
Run the prototype (index.html) and go through the activities. You can see statements in the statement viewer or report sample in the index file, or by logging in to SCORM Cloud and looking at the statement viewer in the Apps section.
Tin Can still allows for the use of course packages, similar to SCORM packages. To see this in action, just download the prototypes and find the correct folder for the course you’d like to use. You’ll see the Golf Example course, the JsTetris game, and the Locator course. Navigate to the folder of the course that you’d like to use, and create a zip file out of its entire contents. (If you’d rather just have the Tin Can courses to import into your LMS, grab the Tin Can Golf Example and the Tin Can JS Tetris Tin Can package downloads).
You now have a Tin Can package that can be imported into any Tin Can enabled LMS. If you’d like a place to try it out immediately, sign up for a free SCORM Cloud account, import the course, and launch it. You can view the results of your activities in the statement viewer of your SCORM Cloud account.