Grid world game to test interruptibility.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
src
.gitignore
.htaccess
README.md
index.html
index_em.html
index_liz.html
loadNtable.php
loadQtable.php
n.csv
participant_num.txt
q_table.csv
saveNtable.php
saveQtable.php
savedata.php

README.md

Gridworld with Crafty.js

Single player game where player works with robot to complete a series of tasks. Navigate using the arrow keys and press 'X' to triggers actions.

The player has three types of individual tasks:

  1. Collect stationary resources
  2. Catch moving resources
  3. Complete a series of tasks, holding information in working memory

The robot will periodically request the player for assistance, alerting them with a noise and/or a blinking light. The player may choose to respond or ignore the request.

File content

index.html - open in browser to start game

src/game-setup.js - initializes Crafty game and defines sound effects

src/task-requests.js - defines human task list and robot request list

src/scene-components.js - defines game components and rules for interactions with environment

src/scenes.js - places objects in scene and loads sprite sheets

src/event-components.js - javascript functions that for events related to human tasks and robot requests

Attributions

(animals) https://opengameart.org/content/lpc-style-farm-animals

(farm) https://opengameart.org/content/lpc-farming-tilesets-magic-animations-and-ui-elements

(oven) http://lpc.opengameart.org/

(well) https://opengameart.org/content/objects-0