From 1e15bd34a584fa5e71705f872e9769ad98c90926 Mon Sep 17 00:00:00 2001 From: Serena Li <40174697+acrantel@users.noreply.github.com> Date: Thu, 2 Nov 2023 13:20:53 -0400 Subject: [PATCH] Change default episode to bc24 (#695) --- frontend/src/views/multi-episode.jsx | 10 ++--- frontend/src/views/resources.js | 4 +- frontend/src/views/tournaments.js | 67 +--------------------------- 3 files changed, 8 insertions(+), 73 deletions(-) diff --git a/frontend/src/views/multi-episode.jsx b/frontend/src/views/multi-episode.jsx index 94cb9672e..7c13f4af3 100644 --- a/frontend/src/views/multi-episode.jsx +++ b/frontend/src/views/multi-episode.jsx @@ -1,19 +1,19 @@ import { Component } from "react"; // NOTE: Save extensions as strings, not numbers, since episodes could be strings too (eg Battlehack) -const EPISODES = ["bc23"]; +const EPISODES = ["bc24"]; // NOTE: dictionary keys that are strings-of-numbers can just be numbers. // The formatter will convert them as such, // and the code will treat them the same way -const EPISODE_TO_EXTENSION = { bc23: ".bc23" }; +const EPISODE_TO_EXTENSION = { bc24: ".bc24" }; const EPISODE_TO_SCAFFOLD_LINK = { - bc23: "https://github.com/battlecode/battlecode23-scaffold", + bc24: "", }; const EPISODE_TO_SCAFFOLD_NAME = { - bc23: "battlecode23-scaffold", + bc24: "", }; -const DEFAULT_EPISODE = "bc23"; +const DEFAULT_EPISODE = "bc24"; class MultiEpisode extends Component { // Given the window.location.pathname of a page (e.g. /2022/getting-started) diff --git a/frontend/src/views/resources.js b/frontend/src/views/resources.js index 782ba7121..988b6d86b 100644 --- a/frontend/src/views/resources.js +++ b/frontend/src/views/resources.js @@ -104,9 +104,9 @@ class Resources extends Component { {this.props.episode_name_long} will be holding lectures, where a dev will be going over possible strategy, coding up an example player, answering questions, etc. Lectures are - streamed on Twitch . + streamed on Twitch. {/* every weekday the first two weeks of IAP. */} - More details coming soon! + More details coming soon!
All lectures are streamed live on{" "} diff --git a/frontend/src/views/tournaments.js b/frontend/src/views/tournaments.js index 464a6c028..7a339c7de 100644 --- a/frontend/src/views/tournaments.js +++ b/frontend/src/views/tournaments.js @@ -87,72 +87,7 @@ class Tournaments extends Component {
- Prize amounts are approximate and will be finalized soon! -
-Prize amounts are TBD for Battlecode 2024.
If you are an international participant, please note that{" "}