Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
xAPI Against Humanity xAPI Against Humanity Let’s play! Scan the QR code. Log in and join a room Play 5 rounds. Vote in each. http://dominknow.com/xah/ xAPI Against Humanity What’s going on? The entire game is supported by xAPI statements. The LRS is being used as a simple data base, the game is doing all the “work” xAPI Against Humanity What’s going on? On start: First person in sends xAPI statement to create the group, with ID Next 3 people – checks to see if a group ID is open, added to that group Fourth person in sends xAPI statement closing the group xAPI Against Humanity What’s going on? On submit: Send an xAPI statement representing the sentence, keep the statement ID (stID) to reference it later. Send an xAPI statement representing that player P formed the statement referenced by stID. verb: "formed" In the context include the activity ID of the game verb (the content page where we formed this sentence), and the registration ID xAPI Against Humanity What’s going on? On voting: Retrieve and display the statements with the verb "formed", which context includes the activity ID associated with the game verb. verb:"formed", activityid (associated with the game verb), registration id, related_activities:true Send an xAPI statement representing that player P voted the statement referenced by the ID selected sentence. verb: "voted” In the context include the activity ID of the game verb, and the registration ID. xAPI Against Humanity What’s going on? After 5 rounds: Retrieve all the votes submitted in the room, i.e. all the statements with verb "voted", which context includes the room registration ID. verb: "voted", registration ID, related_activities: true Calculate Display the sentences (display attribute on the statement object), with the number of votes (and optionally the player who submitted them). xAPI Against Humanity Cool things we learned xAPI Against Humanity Cool things we learned Super Cool You can use the LRS as a simple database You can create content with behaviours that depend on how other users have consumed/interacted with it xAPI Against Humanity Cool things we learned Registration IDs An xAPI client can use multiple registration IDs each for a different purpose: • In the game, each room is associated with a unique registration ID • All game activities use the registration ID of the room • All other xAPI statements use the main registration ID, if any. xAPI Against Humanity Cool things we learned Registration IDs More than one xAPI client can use the same registration ID • All players in the same room use the same registration ID for their game activities. • To poll the room activities (all players in the room) we perform a statements query that looks for activities with that registration ID. xAPI Against Humanity Cool things we learned Voiding Statements Voiding statements came in handy: • To close a game room, i.e. avoid more people joining it we simply void the statement that opened the room. • A statement can be voided by any xAPI client, even if the client that created the original statement is another one. xAPI Against Humanity Want to geek out more? https://github.com/dominknow/xAPIAH