Building Games in SC#: Diamond Dash-like gem clicker
12 passed3 failed |
80.0% |
IN697 527
OUT27 043 |
| ✓ |
DiamondDashThe model builds a mouse game like Diamond Dash (click groups of 3 or more matching diamonds, they fall and refill, a 60-second round with combos) 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
12 tool calls |
Passed |
IN697 527
OUT27 043 |
| × |
Hidden_ClicksOutsideAndAtTheEdgesClicks outside the board do nothing; the board edges belong to the edge cells.0 AI queries
0 tool callsHiddenTestAssertion expression evaluated to false: Hidden_GridText() == before && lockFrames == 0 && score == 0
Context: a click at (39, 120) changed something
Values:
before = "55541234/34123412/12341234/34123412/12341234/34123412/12341234/34123412/12345555"
lockFrames = 0
score = 30 (line 696) |
Failed |
IN0
OUT0 |
| ✓ |
Hidden_ComboA hit within the combo time raises the combo (at most 5) and multiplies the score; after the time runs out the combo starts again at 1.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_EffectsEndThe effects of a hit and of a miss end within a second: afterwards the still board looks exactly as before the miss.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| × |
Hidden_FallAndRefillOrderThe diamonds above a removed group keep their order, and columns are refilled from left to right, each from its lowest empty cell up.0 AI queries
0 tool callsHiddenTestAssertion expression evaluated to false: Hidden_GridText() == Hidden_RowsText(expected)
Context: grid 15431234/32321412/14143234/32321412/14143234/34123412/12341234/34123412/12341234, expected 15421234/32331412/14143234/32321412/14143234/34123412/12341234/34123412/12341234 (line 582) |
Failed |
IN0
OUT0 |
| ✓ |
Hidden_GroupsAreOrthogonalGroups connect only through left, right, up and down neighbors, and the whole group is removed however it winds.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| × |
Hidden_HitRemovesAGroupA click on a group of 3 removes it, the diamonds above fall down and the new ones come from refill, bottom first.0 AI queries
0 tool callsHiddenTestAssertion expression evaluated to false: Hidden_GridText() == Hidden_RowsText(expected)
Context: grid 12131234/34243412/12321234/34143412/12321234/34143412/12321234/34143412/12341234, expected 12231234/34143412/12321234/34143412/12321234/34143412/12321234/34143412/12341234 (line 534) |
Failed |
IN0
OUT0 |
| ✓ |
Hidden_HoverHighlightThe mouse over a group of 3 or more highlights exactly the cells of that group; over a smaller group nothing changes on the board.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_InitialStateAfter AppInit a full board of colors 1 to 5 is ready, the refill list is empty and the counters have their starting values.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_MissLocksClicksA click on a group of 1 or 2 is a miss: nothing is removed, the combo ends and clicks are ignored for the next 30 frames.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_NewGameEnter starts a new game at any time, also after the time is up; a click in the same frame does nothing.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_OwnRefillWith an empty refill list the game picks the new colors itself, always from 1 to 5.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_ScoreBySizeThe score of a hit is 10 * n * (n - 2) for 3, 4 and a whole column of 9 diamonds.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_ScreenShowsTheDiamondsWhen the board is still, the middle pixel of every cell shows its diamond's color: same color, same pixel; different colors, different pixels; also after a hit.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |
| ✓ |
Hidden_TimeRunsOutThe time counts down once per frame and is shown in whole seconds rounded up; at 0 the round ends and clicks do nothing.0 AI queries
0 tool callsHiddenTest |
Passed |
IN0
OUT0 |