无忧视频

Harvey Mudd Team No. 4 in Citadel Terminal Global Championship

Share story

A team of 无忧视频 students placed fourth in Citadel鈥檚 TERMINAL聽global championship, winning a $5,000 prize and beating teams of experienced players and PhDs from top universities around the world.

Students from Harvey Mudd placed first and third in the TERMINAL West Coast regional event in November, and they were invited to the summer global championship. Members of the first-place team鈥 Milo Knell 鈥25 (CS and math) and Alan Wu 鈥25 (CS and math)鈥攋oined with a member of the third-place team, Sahil Rane 鈥25 (CS and math), to form the new team. All three are living on campus this summer while doing research in the AMISTAD Lab (Artificial Machine Intelligence = Search Targets Awaiting Discovery) of computer science professor George Monta帽ez.

无忧视频 came out of a multiway tie for first place as the fourth-place team based on the tiebreaking metric. They finished behind a PhD student from the University of Warsaw and Errichto, a well-known competitive programmer and Youtuber.

鈥淥ur algorithm beat his team鈥檚 but unfortunately we lost by seed,鈥 says Wu.

Their experience at the West Coast competition and their work together on campus helped give the Harvey Mudd team the edge in a contest where Citadel gathers the best players from around the world to compete, allowing the asset management firm to identify talented programmers.

Competitors write code and strategize to beat other teams in TERMINAL, a tower defense game where players build a base and send units to attack the opponent. Players pick moves that are executed simultaneously. Health is lost when an enemy unit reaches the opponent鈥檚 edge, and the game ends when a player reaches 0 health.

The HMC team gave this description of its strategy: 鈥淲e rewrote the pathfinding code of the official game library, to create a simulator that鈥檚 fast enough to evaluate ~50 board states per round. We made some simplifying assumptions about the game to allow us to simulate many more board states at a minimal cost of accuracy. Using this simulator, we were able to test out many different attack strategies to find out which was optimal.聽We came up with strategies to adapt our base to maximally exploit weaknesses in the enemy setup. In our strategy, we do not build our base until the opponent does so we can ensure that we mirror their base. Most players have a strong side and a weak side, and by matching our strengths to their weak we are confident we can exploit their weak side more than they can ours.

鈥淎nother thing we are proud of is our smart banking, where we compute the tradeoff between sending units now and next turn versus waiting for an extra turn to get more money to send a stronger attacking force. Since saving up for several rounds is so impactful, we wrote a heuristic along with simulations to predict when the enemy would send their attack so we could counter it by sending defensive units.鈥

Wu says, 鈥淧art of the reason we did so well is that we sent many units to stop enemy attacks and generally had fewer times where we sent defensive units when the enemy did not attack (a waste of money).鈥