한글로 보기

Battle with Code

A game where your code battles against opponent's code. Design your strategy and implement it with code.

What is Code Battle?

  • It is a game where your code and your opponent code face each other one by one.
  • GAME consists of several ROUNDs, and ROUND consists of several TURNs.
  • In each TURN, my choice and opponent's choice determine the win/lose and score, and the results determine ROUND win/lose, GAME win/lose.

Why to play?

  • Strategic ability improves because you have to build a winning strategy.
  • Your coding skills will improve because you have to code as you think.
  • Interested in machine learning? Analyze your opponent's data in the code battle.
  • Make friendship with your developer friends in the code battles.

How to play?

1 Code Battle

Battle against AI or Online Opponent

Write one code and battle against AI or online users

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.
2 Code Battle

Battle Two Codes Against Each Other

Enter two codes and watch them battle each other

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.