Pokémon Showdown replay engine · MIT / client AGPL-3.0. Source and licenses accompany the distribution.