September 30, 2026

Pointing game with heatmap

Similar to the previous example the game generates NPC Quests for the human to point at a certain location in a maze. Typical quests are "point at room C", "point at door to room A". To make the task easier, a heat map is shown, which provides a feedback at which direction the target location is. After clicking on the desired location, the user gets +10 reward and the next quest is shown.

The prototype demonstrates grounded language for a pointing game. The task for the user is to convert a textual command "point at ..." into an action with the mouse.

The source code is very short and consists of only 150 lines of code in Python with the pygame and the random library.

No comments:

Post a Comment