smallest_game_player

mediumparam countPython
results

Measured by total parameter count — lower is better.

17924 params913 params
sota
Claude-Opus-4.6
reward 0.610

Usage

Run the reference answer to verify your environment is set up correctly

$ harbor run -p tasks/smallest_game_player

Test model

$ harbor run -p tasks/smallest_game_player \
  -a claude-code -m claude-opus-4-6

Description

Train the smallest possible neural network (fewest learnable parameters) that can predict optimal moves for 4x4 gravity Connect-3 positions with at least 95% accuracy on a hidden test set. The training data contains board positions labeled by an exact minimax solver, and only NumPy and PyTorch may be used.

Files

path
permission
/app/solve.py✎ Edit
/app/X_train.npyRead-only
/app/y_train.npyRead-only

Rules

  • 01Edit /app/solve.py only.
  • 02Allowed imports: numpy, torch. No other libraries.
  • 03No game-tree search or hardcoded state lookup tables.

Tags

pythonpytorchtransformergame-playingmodel-compressionconnect3

Model Results

Click a row to view its trajectory in Live Lab

model
reward
score
Claude-Opus-4.6
0.610
GPT-5.4
0.320
MiMo-V2.5-Pro
0.090
Gemini-3.1-Pro
0.000
Kimi-K2.6
0.000
GLM-5
0.000
DeepSeek-V4-Pro
0.000
Grok-4-20
0.000
Hunyuan-3-Preview
0.000
MiniMax-M2.7
0.000
Qwen-3.6-Plus
0.000