Building Games in SC#: Scorched Earth-like artillery duel
11 passed1 failed |
91.7% |
IN1 342 986
OUT22 525 |
| ✓ |
ScorchedEarthThe model builds a Scorched Earth artillery game from the task as an agent; this item passes when the app compiles and can be exported, and each hidden test is its own item.3 AI queries
27 tool calls |
Passed |
IN1 342 986
OUT22 525 |
| ✓ |
Hidden_AimingLeft and Right change the player's angle by 1 per frame within 0 .. 180, Up and Down the power within 10 .. 100.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_BallisticsSpace fires the shell from the end of the turret; it does not move in that frame and then flies by gravity and wind exactly.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| × |
Hidden_ComputerTurnsComputer tanks fire within 60 frames of their turn, from their turret, within the angle and power limits; the wind changes by at most 3 per turn.0 AI queries
0 tool callsHiddenTestAssertion expression evaluated to false: Math.Abs(wind - lastWind) <= 3 && wind >= -10 && wind <= 10
Context: wind changed from 2 to -2
Values:
wind = -2 (line 1029) |
Failed |
IN0
OUT0 |
| ✓ |
Hidden_CraterA shell that hits the terrain makes a crater by the exact rule, and the turn goes to the next tank.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_DamageAn explosion damages tanks by distance: (int)(m * (1 - distance / r)); the player's score grows by the damage to others.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_EdgesOfTheScreenA shell that leaves the screen at the side is gone without an explosion; above the top it keeps flying.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_FallingA tank whose ground is blown away falls onto the ground and loses half of the fall height.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_InitialStateAfter AppInit the terrain, the tanks and the counters have their starting values.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_LargeMissileA large missile makes a crater of radius 24 and costs ammunition; W switches the weapon only while there is ammunition.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_ScreenThe screen shows the terrain, the tanks, the shell and the texts.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_TurnsAndRoundEndTanks without hp die; the turn order skips dead tanks; the round ends when at most one tank is alive.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |