Skip to content

Commit

Permalink
Fix hardcoded versions
Browse files Browse the repository at this point in the history
  • Loading branch information
TheApplePieGod committed Jan 6, 2025
1 parent a25b3f4 commit 98d75c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/MatchReplayButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const MatchReplayButton: React.FC<MatchReplayButtonProps> = ({
`https://releases.battlecode.org/client/${
episode.data?.artifact_name ?? ""
}/${
episode.data?.release_version_public ?? ""
episode.data?.release_version_client ?? ""
}/index.html?gameSource=${match?.replay_url}`,
"_blank",
);
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/content/bc25java.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ You can run games directly from the terminal with the gradle task \`./gradlew ru
export const RESOURCES: Partial<Record<ResourcesPageKey, string>> = {
"Game Specifications": `
[Specifications for Battlecode 2025 Java!](https://releases.battlecode.org/specs/battlecode25/3.0.5/specs.md.html)
[Specifications for Battlecode 2025 Java!](https://releases.battlecode.org/specs/battlecode25/1.0.0/specs.pdf)
[Javadocs for Battlecode 2025 Java!](https://releases.battlecode.org/javadoc/battlecode25/3.0.5/index.html)
[Javadocs for Battlecode 2025 Java!](https://releases.battlecode.org/javadoc/battlecode25/1.0.0/index.html)
`,
"Coding Resources": `
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/content/bc25python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ You can run games directly from the terminal with the gradle task \`./run.py run
export const RESOURCES: Partial<Record<ResourcesPageKey, string>> = {
"Game Specifications": `
[Specifications for Battlecode 2025 Python!](https://releases.battlecode.org/specs/battlecode25/3.0.5/specs.md.html)
[Specifications for Battlecode 2025 Python!](https://releases.battlecode.org/specs/battlecode25/1.0.0/specs.pdf)
The API for Battlecode Python is the same as Java. You can read the documentation [here](https://releases.battlecode.org/javadoc/battlecode25/3.0.5/index.html).
The API for Battlecode Python is the same as Java. You can read the documentation [here](https://releases.battlecode.org/javadoc/battlecode25/1.0.0/index.html).
`,
"Coding Resources": `
Expand Down

0 comments on commit 98d75c8

Please sign in to comment.