DockYard-Academy / curriculum

MIT License
945 stars 245 forks source link

Add Content: Create a Game Board Challenge #1045

Open BrooklinJazz opened 1 year ago

BrooklinJazz commented 1 year ago

input: correct and incorrect answers

Original inspiration from @alena's game:

%{
 instruction: "Numbers 3 or below",
 correct: [1, 2, 3],
 incorrect: [4, 5, 6]
}

The result is a game board matrix:

[
[2, 4, 1], 
[3, nil, nil],
[nil, 5, 6]
]