diff --git a/src/routes/2025-codebattle/online_p.mdx b/src/routes/2025-codebattle/online_p.mdx index 71f109c7..52a3d4f1 100644 --- a/src/routes/2025-codebattle/online_p.mdx +++ b/src/routes/2025-codebattle/online_p.mdx @@ -77,15 +77,17 @@ codebattle: true 샘플 AI의 전략은 아래와 같습니다. -| 배틀 번호 | 설명 | -| --------- | --------------------------------------------------- | -| 1 / 2 | 자기의 턴에 항상 "패스"만 합니다. | -| 3 / 4 | 제공된 예제 코드와 같은 동작을 수행합니다. | -| 5 / 6 | 게임 시뮬레이터 샘플 AI 핑크빈의 전략을 사용합니다. | -| 7 / 8 | 중간 난이도의 방어형 전략을 사용합니다. | -| 9 / 10 | 중간 난이도의 공격형 전략을 사용합니다. | -| 11 / 12 | 어려운 난이도의 방어형 전략을 사용합니다. | -| 13 / 14 | 어려운 난이도의 공격형 전략을 사용합니다. | +| 배틀 번호 | 설명 | 코드 | +| --------- | --------------------------------------------------- | :------------------------------------------------------------------------------------------------------ | +| 1 / 2 | 자기의 턴에 항상 "패스"만 합니다. | [코드](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI1.rs) | +| 3 / 4 | 제공된 예제 코드와 같은 동작을 수행합니다. | [코드](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI2.rs) | +| 5 / 6 | 게임 시뮬레이터 샘플 AI 핑크빈의 전략을 사용합니다. | [코드](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI3.rs) | +| 7 / 8 | 중간 난이도의 방어형 전략을 사용합니다. | [코드](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI4.rs) | +| 9 / 10 | 중간 난이도의 공격형 전략을 사용합니다. | [코드](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI5.rs) | +| 11 / 12 | 어려운 난이도의 방어형 전략을 사용합니다. | [코드](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI6.rs) | +| 13 / 14 | 어려운 난이도의 공격형 전략을 사용합니다. | [코드](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI7.rs) | + +> 샘플 AI 코드는 실제 대회 진행 시에는 제공되지 않았습니다. ## 시각화 도구 (샘플 AI / 번갈아 플레이하기 / 로그 분석) diff --git a/src/routes/en/2025-codebattle/online_p.mdx b/src/routes/en/2025-codebattle/online_p.mdx index 0f9157db..b43edeca 100644 --- a/src/routes/en/2025-codebattle/online_p.mdx +++ b/src/routes/en/2025-codebattle/online_p.mdx @@ -77,15 +77,17 @@ The program will play **2 matches against each sample AI**, alternating between The strategies of the sample AIs are as follows: -| Battle No. | Description | -| ---------- | ------------------------------------------------------------- | -| 1 / 2 | Always "Passes" on its turn. | -| 3 / 4 | Uses the same strategy as provided in the sample code. | -| 5 / 6 | Uses the strategy of the game simulator sample AI, Pink Bean. | -| 7 / 8 | Uses a medium-level defensive strategy. | -| 9 / 10 | Uses a medium-level offensive strategy. | -| 11 / 12 | Uses a high-level defensive strategy. | -| 13 / 14 | Uses a high-level offensive strategy. | +| Battle No. | Description | Code | +| ---------- | ------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------ | +| 1 / 2 | Always "Passes" on its turn. | [Code](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI1.rs) | +| 3 / 4 | Uses the same strategy as provided in the sample code. | [Code](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI2.rs) | +| 5 / 6 | Uses the strategy of the game simulator sample AI, Pink Bean. | [Code](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI3.rs) | +| 7 / 8 | Uses a medium-level defensive strategy. | [Code](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI4.rs) | +| 9 / 10 | Uses a medium-level offensive strategy. | [Code](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI5.rs) | +| 11 / 12 | Uses a high-level defensive strategy. | [Code](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI6.rs) | +| 13 / 14 | Uses a high-level offensive strategy. | [Code](https://nypc-static.s3.ap-northeast-2.amazonaws.com/2025/mushroom.92e824cffe84/sample-ai/AI7.rs) | + +> Note: Sample AI codes were not provided during the actual contest. ## Visualization Tools (Sample AI / Two-Player / Log Analysis)