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:
- Collect stationary resources
- Catch moving resources
- 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.
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