Build, battle, and improve
- Read the game rules and plan a strategy that can win.
- Implement it against each game's sample contract, either by yourself or with help from external AI tools.
- Run it against AI first and check the result and the logs.
- Battle an online opponent, or run it again under the same conditions.
- Revise your strategy based on the result and battle again.
A GAME consists of several ROUNDs, and a ROUND consists of several TURNs. The choices made each TURN decide the ROUND and the GAME.
Anything you log with printLog() in your code appears in the log area at the bottom of the screen.
1 Code Battle
Battle AI or online opponents with one strategy code
Available now. You can play right away without signing in.
Rock Scissors Paper Game
- Scissors win Paper, Rock wins Scissors, and Paper wins Rock.
- Choose one of the Scissors(1), Rock(2), or Paper(3) for each TURN, and gain 1 point if you win with Scissors, 2 points if you win with Rock and 3 points if you win with Paper.
Five in a Row (Omok) Game
- A game in which you put five consecutive stones in one direction of horizontal, vertical, or diagonal in 15x15 grid intersections.
- Each TURN receives the last coordinates of the opponent, and then determines my coordinates and returns.
Bulls and Cows Game
- The opponent and I each have their own 3 digits number, and it is a game to win by guessing the opponent's number first. If both sides guess the number at the same time, the larger number wins.
- Determine the opponent's number for each TURN, and receive the result that if the matching digits are in their right positions, they are 'bulls', if in different positions, they are 'cows'
Sutda Game
- You and your opponent will each receive 2 cards (Hwatu card), and it is a game where you win or lose with a combination of 2 cards.
- You get money when the game starts, you get 2 cards and 1 opponent card at the start of the round, and you have to choose raise or call or die on each turn.
Developer event cases
Two strategy codes competing at developer events
Explore past qualifier screens used at SKP developer events from 2021 to 2023.
1:1 Fighting Tournament
- This page was created to support the code battle session during SK Planet's 2021 developer event.
- For each TURN, you select an punch_or_kick and an hitting_area(head, body, or leg), and if you win, you get points according to the punch_or_kick and hitting_area.
Code Baseball Classic
- This page was created to support the code battle session during SK Planet's 2022 developer event.
- It is a code battle game that stands for real baseball. There is a 3X3 strike zone, and every TURN you choose where to throw or where to hit, which will be a home run, a hit, a strike, and a ball according to the rules.
Number Cards Battle
- This page was created to support the code battle session during SK Planet's 2023 developer event.
- The gameplay is almost the same as Sutda. You are given two number cards each and can see one of your opponent's cards. This is a method in which two players bet against each other, and the side with the higher card pair takes the coins they bet on.