Blogs (3) >>

This program is tentative and subject to change.

Sat 1 Mar 2025 14:47 - 15:00 at Meeting Rooms 302-303 - Nifty Assignments

In this assignment, students build a choose-your-own-adventure game that integrates generative AI to create a dynamic, interactive “infinite story” experience. The game is powered by nested dictionary (JSON) objects that store pre-existing scenes. Each scene is a nested dictionary, containing user choices, descriptions, and more. Students are challenged to navigate and manipulate these deeply nested data structures, which helps them appreciate the utility and complexity of dictionary objects. When a user ventures into an undefined scene, the program makes an API call to ChatGPT to generate the next scene, allowing the adventure to continue seamlessly. To the best of our knowledge it is one of the first assignments in intro CS that uses ChatGPT.

What makes this assignment truly nifty is how it teaches students to leverage generative AI in a creative, meaningful way. By blending generative storytelling with technical skills, students get to see the power of AI in extending their projects beyond predefined boundaries, creating an open-ended, exciting experience.

Many students expanded on this assignment for their final projects, creating sophisticated programs like AI-driven Chess and Go games. Using the techniques from this assignment, they leveraged the course’s OpenAI integration to build functional AI agents that enhanced gameplay. These projects showcased the flexibility of the assignment, inspiring students to think critically about the creative and practical applications of AI in real-world contexts.

This program is tentative and subject to change.

Sat 1 Mar

Displayed time zone: Eastern Time (US & Canada) change

13:45 - 15:00
13:45
12m
Talk
Murder Mystery
Nifty Assignments
Colin Sullivan Rutgers University, Steven Chen Rutgers University, Ana Paula Centeno Rutgers University
13:57
12m
Talk
Augmentative and Alternative Communication Device Maps Assignment
Nifty Assignments
Catherine Baker Creighton University, Yasmine Elglaly Western Washington University, Kristen Shinohara School of Information
14:10
12m
Talk
Nifty Assignments: Particle Systems
Nifty Assignments
Keith Schwarz Stanford University
14:22
12m
Talk
Building The Tree of Life from Scratch
Nifty Assignments
Christopher Tralie Ursinus College
14:35
12m
Talk
Music Visualizer
Nifty Assignments
Kevin Wayne Princeton University
14:47
12m
Talk
Infinite Story
Nifty Assignments
Chris Piech Stanford University, Mehran Sahami Stanford University and ACM Taskforce, Yasmine Alonso Stanford University, Katie Liu Stanford University, Javokhir Arifov Stanford University, Anjali Sreenivas Stanford University, Dan Webber Stanford University, Tina Zheng Stanford University, Ngoc Nguyen Stanford University, Iddah Mlauzi Stanford University, Juliette Woodrow Stanford University