Game
Learn Functional Programming
5 years ago

Article: Recording User Behavior with Log Data


Educational games, or more generally "Intelligent Tutoring Systems," might record log data of a user’s session. Using educational data mining techniques, this log data can let you analyze behavior and performance to better support the user.

Log data could make applications like personalized help, automatic hints and real time-feedback possible. Looking directly at user behavior could enable game-based learning assessments, where a user demonstrates understanding through their actions without needing to explain it with some other possibly difficult formalism. These applications are already being used by educational tools like Duolingo, ST Math, or in many projects from NCSU's Game2Learn lab.

Privacy Concerns

While I think these applications are awesome, it comes with some privacy concerns for users. Someone might be uncomfortable with their data being recorded as they play or use a tool, especially if it would be included in more fine-grained analysis. Users should have control over whether or not log data is recorded.

Recording Log Data in LFP

I added logging to LFP with these possible applications and privacy concerns in mind.

On the main menu, users are able to configure whether or not they ant logging enabled, making it disabled by default.

logging_devlog1.png

When the user does enable logging, they configure where data will be sent by providing a URL that the REST API will connect to. I’m imagining either an instructor would provide this or they would choose from a drop-down.

logging_devlog2.png

To help with analysis, each game session gets a unique game session id. Later versions should probably have some other ID unique to each user, so different game sessions for the same person can be related to one another. However, this is better for privacy since you can’t tell who played that session with the ID alone.

If logging is enabled, logs are sent to the server through REST API calls during play. For testing, I’ve been recording logs to a local Firestore database.

Logs are only recorded when the player does an action such as moving a token, undoing, or completing a level. Other metadata may help reconstruct what happened during a game session.

logging_devlog3.png

Recording game logs is the first step for features like detecting when the player is stuck or enabling automatic hints. These and other features will hopefully make playing and understanding the game easier.



0 comments

Loading...

Next up

Just as Pecaminosa's musicians #improvise this rendition of #LittleSunflower 🌻, so do we improvise with this post you're reading. 😂

What's coming out of your own improvs? 🤔

#Pecaminosa | #IndieDev | #OST | #Jazz

I have added rewards for quests so that villagers can give you something in return for your hard work helping them. 🥳

I want to know - what's your favourite quest reward?

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday

Updated the chest in the maze, adding sound, particles and better animation. But what's in the chest?

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

Alone Together....

Who's is this little cutey👸 here? Thanks🙏 for a gorgeous fanart @WheNa! Feel free to share your arts, screenshots, or videos with #playzelter or #zelter hashtags! #pixelart #animating #unity3d #animated #indiegames #unrealengine #animate #conceptart

A few screenshots of the places you'll cross in the Demo of Blu. You can play it today on #gamejolt !

Coming Soon...