Code Baseball Classic
Code Battle
한글로 보기

Game Rules

This is a baseball game where Player 1 and Player 2's code battle 1:1. The programming language is JAVASCRIPT.
3x3 Strike Zone
Best of 7 rounds
1 Round = 9 innings

After checking the game rules, writing the codes for Player 1 and Player 2, click the Start Game button to start the match.

Strike Zone:

0,00,10,2
1,01,11,2
2,02,12,2

Turn Results:

  • Home Run: Pitcher and hitter choices match exactly
  • Hit: Pitcher and hitter rows match (always a single)
  • Strike: Pitcher throws strike and hitter misses, or pitcher throws ball and hitter swings
  • Ball: Otherwise

Ball Probability: Except center ([1,1]), corners have 5/9 and sides have 1/3 probability of becoming a ball.

The screen since the round of 16 →

Player 1

Player 2

Strike Zone
0,00,10,2
1,01,11,2
2,02,12,2
Ball Count
S0
B0
O0
Runners
1B
2B
3B
Score Board
1 2 3 4 5 6 7 8 9 R Win
Player 1 0 0 0 0 0 0 0 0 0 0 0
Player 2 0 0 0 0 0 0 0 0 0 0 0

Game Log

Recent logs are displayed at the top.