Catalyst

Fall 2026 · Sprint 3 of 5

Board-game bot tournament · Nov 2 – Nov 15

Happening now

Sprint 3 Week 2 - Board Game Bots

Welcome to the build week for sprint 3! Hopefully you have had a chance to review the workshops from last week (all videos and recordings are below) and are ready to build your bots for Megagem! This week will consist of 3 office hour slots (total of 6 hours) in Tsai CITY, listed below. If you have any other questions outside of office hours, feel free to email ryan.fernandes@yale.edu. The assignment for this sprint is due Sunday, November 22 at 11:59pm. All pull requests to the megagem-harness repository must be created before this point. See the assignment specification and schedule for this week below!

Assignment:

For this sprint, your job will be to create intelligent bots capable of playing the game Megagem (rules). To do this, you must follow these steps:

  1. Read the rules and reason about simple strategies
  2. Fork the harness repo here and read through the code/comments
  3. Implement your bots in the bot_definitions subdirectory
  4. Test your bots in simulated games and iterate
  5. Open a pull request to Ryfernandes/megagem-harness to submit

Below are some rules/guidelines that you must follow when creating your bots:

  • You may work individually or in teams
  • You can submit 1-3 bots per team
  • Each bot must be defined in the src/bot_definitions subdirectory
  • Each bot must be imported/added to the public API of src/custom_bots.py (the line with __all__)
  • Each bot must provide a response to function calls within a maximum timeout of 2 seconds. This timeout may increase, but it will not decrease
  • Each bot definition must be accompanied by some documentation (such as a multi-line comment at the top of the file) explaining the basic strategy of the bot and listing its contributors
  • (Optional) Write a blog about your bots and get featured on the y/cs website/LinkedIn!

At the end of the sprint, we will run some sort of simulation/tournament of the bots, depending on how many are submitted, and post the results. Catalyst points will be awarded for performance of the bots, as well as bot quality, which will be informed by the results of the simulation

Sprint 3 Build Week Office Hours 1

  • When: Monday, November 9, 7-9pm
  • Where: Tsai CITY, Ground Floor

Sprint 3 Build Week Office Hours 2

  • When: Tuesday, November 10, 7-9pm
  • Where: Tsai CITY, Ground Floor

Sprint 3 Build Week Office Hours 3

  • When: Wednesday, November 11, 2:30-4:30pm
  • Where: Tsai CITY, Ground Floor

Earlier

Sprint 3 Week 1 - Board Game Bots

Welcome to Sprint 3! This sprint, we will be learning to build simple board game bots, using the auction-style card game Megagem, produced by Richard Garfield and Jane Street. You will learn about the game itself, the role of harnesses is, and common techniques for designing intelligent bots. At the end of the sprint, you will submit up to 3 bots to the megagem-harness repository, which will then be entered into a tournament against everyone else’s! Hopefully, by the end of it, we will have some better insight into what simple strategies prevail over others in this game. Below, find workshop schedules, slides, recordings and notes for the first week.

Questions? Email ryan.fernandes@yale.edu

Assignment:

For this sprint, your job will be to create intelligent bots capable of playing the game Megagem (rules). To do this, you must follow these steps:

  1. Read the rules and reason about simple strategies
  2. Fork the harness repo here and read through the code/comments
  3. Implement your bots in the bot_definitions subdirectory
  4. Test your bots in simulated games and iterate
  5. Open a pull request to Ryfernandes/megagem-harness to submit

Below are some rules/guidelines that you must follow when creating your bots:

  • You may work individually or in teams
  • You can submit 1-3 bots per team
  • Each bot must be defined in the src/bot_definitions subdirectory
  • Each bot must be imported/added to the public API of src/custom_bots.py (the line with __all__)
  • Each bot must provide a response to function calls within a maximum timeout of 2 seconds. This timeout may increase, but it will not decrease
  • Each bot definition must be accompanied by some documentation (such as a multi-line comment at the top of the file) explaining the basic strategy of the bot and listing its contributors
  • (Optional) Write a blog about your bots and get featured on the y/cs website/LinkedIn!

At the end of the sprint, we will run some sort of simulation/tournament of the bots, depending on how many are submitted, and post the results. Catalyst points will be awarded for performance of the bots, as well as bot quality, which will be informed by the results of the simulation

Workshop 1: Introducing the Game

  • When: Tuesday, November 3, 7-9pm
  • Where: WLH 209
  • Slides: Here!
  • Recording: NA

Summary: In this workshop, we reviewed the rules for Megagem, focusing on the points at which players need to make decisions and what information is relevant to them when they do. A good online manual for Megagem can be found here, and check out this interesting blog about Megagem strategy and a reinforcement-learning approach (likely more complicated than what you will do for your project).

Workshop 2: The Harness

  • When: Wednesday, November 4, 5-6:30pm
  • Where: WLH 207
  • Slides: Here!
  • Recording: Here!

Summary: In this workshop, we walked through the harness that has been created for Megagem bot development. We traced through code segments, reviewed important data structures, and showed some example bot implementations. In addition, we learned how to simulate games with the harness, run robust experiments, and collect data. The link to the repository is here.

Practice: (15-30 min) Try implementing a bot that “rations” its coins! The bot should only bid when gems are up for auction and bid proportionally based on the number of gems up for auction compared to the total number of auctionable gems remaining. For example, if the bot has 10 coins left, 2 gems are up for auction, and there are 5 gems total left, it should bid 10 * 2 / 5 = 4 gems. Implement this bot and test it against the SmallBidBot! How does it perform?

If you have any requests for the harness or find any bugs, please let me know! (ryan.fernandes@yale.edu)

Workshop 3: Building Smart Bots

  • When: Thursday, November 5, 5-6pm
  • Where: WLH 117
  • Slides: Here!
  • Recording: Here!

Summary: In this workshop, we dived a bit deeper into theory and walked through an important expected value calculation for designing smart Megagem bots. In addition, we outlined other, more advanced techniques that may be useful to research/implement when building your bots.

Sprint 2 Workshop 2

Today we talked about how to build multi-agent systems, and the frameworks and techniques you’ll use to build them well. We hope you learned something!

Slides: view the deck

Your project: due Friday, Oct 30

Build a multi-agent system for a use case you choose. You can start from the Repo Investigator or Movie Agent scaffold, or build your own agent. A good project has:

  • A clear improvement in how well a task gets done
  • Two or more of the agent patterns from today’s workshop
  • A working demo you can show

Add your agent to the members page

Your profile can now link to your agent. To add it:

  1. On your fork’s GitHub page, click Sync fork, then Update branch. In your catalyst-fall26 folder, run git checkout main, git pull, and git checkout -b add-agent.

  2. Open members/<your-netid>.json and add an "agent" line with a link to your agent’s repo or demo. Put a comma at the end of the line above it, but not on the new line:

    "github": "alexbell",
    "agent": "https://github.com/alexbell/study-buddy-agent"
  3. Commit, push and open a pull request. Once a lead merges it, an AI agent link shows up under your name.

Stuck? See Changing or removing your profile, or bring it to office hours.

Sprint 2 Session 1

10/13 @ 6pm, WLH 114, see you there! This sprint we’re building AI agents.

Source code for this sprint: catalyst-agent-workshop

Slides: view the deck

Homework Submission Form & Office Hours

Submit here!

Office hours Tuesday-Thursday 4-5pm @ Tsai City this week!

Current Homework

  • Learn git branching
  • Submit basic site
  • Add final site to site via PR
Workshop 2 recap and build week

Workshop 2 recap

In Workshop 2 we turned our paper sketches into real sites with Astro and put them live on GitHub Pages. Here’s what we covered:

  • Why Astro: it’s HTML first, so you can reuse pieces like your nav across every page, and it builds to static files that GitHub Pages can host for free
  • Setup: installing Node.js, running npm create astro@latest, and starting the dev server with npm run dev
  • Components and layouts: one .astro file for each box in your sketch, plus a BaseLayout that every page shares
  • Projects as data: keeping your projects in a list and rendering a ProjectCard for each one with props
  • Styling: scoped styles, global colors and fonts, and a media query for phones
  • Deploying: setting site in astro.config.mjs, adding the GitHub Actions workflow, and pushing to go live

Missed it, or want to go over a step again? The Workshop 2 slides walk through each part.

Build week: Oct 5–11

There are no workshops this week. Use the time to finish your site and ship it. Before Sunday, Oct 11:

  • Get your site live at username.github.io (follow Astro’s GitHub Pages guide)
  • Link your repo on the members page with a pull request for 1 point
  • Update your site with your own About, Projects and Contact sections for 1 point
  • Meet up with your group and send a photo for 1 point per day

The four most creative and well-designed portfolios each win $100 in Cursor credit. For extra polish, try giving each project its own page, adding a guestbook, or using a custom domain.

Stuck? Ask in the group chat and paste the error, or bring it to office hours (times and place are posted online). Project 2, an AI agent led by Jeet, starts the week of Oct 12.

Workshop 1 Homework

Thanks for coming to Workshop 1. Here’s everything you need before Workshop 2.

Slides from Workshop 1: view the deck

1. Learn Git (about 45 min)

  • Watch Git Explained in 100 Seconds (Fireship, under 2 min) for a quick overview
  • Play Learn Git Branching:
    • Main tab: Introduction Sequence, (commits, branches, merging)
    • Remote tab: Push & Pull – Git Remotes!, (clone, fetch, pull, push, and what to do when your push gets rejected)

2. Watch the HTML basics videos (about 35 min)

As you watch, look for these, since we’ll use them in Workshop 2:

  • Tags and attributes
  • Headings, paragraphs, links and images
  • Lists
  • <header>, <nav>, <section> and <footer>

If you already know HTML, you can skip the videos.

Questions? Ask in the group chat.

- the Catalyst team (Eli, Jeet, Yassin)

Catalyst Session 1

9/29 @ 6pm, LC 317, see you there!

Open your first PR before Tuesday

Before session one on Tuesday, Sep 29, add yourself to the members page by opening a pull request. It takes about 20 minutes. The contributing guide walks you through each step.

  • Set up a GitHub account, Git and Cursor
  • Fork the repo, clone your fork and make a branch
  • Add members/<netid>.json and your photo, members/<netid>.jpg
  • Commit, push and open the pull request
  • Wait for the green check, then star the repo once a lead merges it

Your profile is public, so only add what you’re happy to share. Stuck? Ask in the group chat and paste the error.

Catalyst Kickoff Event

Thank you all for coming!!

- the Catalyst team (Eli, Jeet, Yassin)