Grandma Green

Grandma Green is a 2D simulation game developed by a team of ~20 USC students. I am the Gameplay AI Engineer in the team, where I mainly worked on the AI system of our plant friends “golems”. I also supported the development of our player character control and NPC interactions. Besides gameplay features, I am also responsible for maintaining some dev tools in our project, including AI tools and Event Manager in our project.

Tech Stack

Unity, C#, Behavior Tree, State Machine

Development Time

Sep 2022 - Present

Creating Our Plant Friends

  • The Golem system includes golems spawning, evolution, emotion handling and task action. Golems start out as a Baby, and evolve into a Grown-up when they max out their happiness meter. Players can assign task to a Grown-up can golems to help building their garden.
  • I developed and provided the emotion and exressions handling APIs to other engineers in the team. The APIs follows Publish–subscribe pattern. My engineering peers, who worked for UI and dialogue, can easily update a golem’s emotion and expression in a decoupling manner.

Building Our Character Production Pipeline


  • Working closely with our artists and other engineers, I am responsible for building our characters production pipeline. Our game has a variety of lovely characters including Grandma, Shopkeepers, and Golems. My role involves coordinating with team members across various stages of the pipeline, so that everyone can work in parallel and deliver content faster.

Golems Interaction and Behaviors

  • I implemented Golems’ interaction and behaviors using Behavior Tree. Players can tap to talk to a golem or drag to move a golem.
  • To achieve golem watering action, I created a CrowdController to communicate with Garden Controller to get plants which need to be watered. CrowdController will schedule and assign tasks to each single valid golem.