Re:Flexbox Froggy: A game for learning CSS flexbox
by kearneyandy on Tuesday December 01, 2015 @06:12PM
(#10659630)
I tried out your secret level, surprisingly easy after level 24 :)
Re:Flexbox Froggy: A game for learning CSS flexbox
by Sakes on Tuesday December 01, 2015 @06:17PM
(#10659648)
haha, yup, you'd have to modify 'style' attribute in the new level definition. I didn't test but i'm assuming it determines the position of the lily pads.
You can reference his levels here when trying to create your own.
https://github.com/thomaspark/flexboxfroggy/blob/gh-pages/le...
Paste this into the console:
levels.push({ name: 'super secret-1', instructions: 'This is a secret level you get no instructions.', board: 'rggggyyyyy', style: {'flex-direction': 'column-reverse', 'flex-wrap': 'wrap-reverse', 'align-content': 'space-between', 'justify-content': 'center'}, before: "#pond {\n display: flex;\n", after: "}", });
Proceed to the secret 25th level! You can create your own levels, and make a pull request to his git repository if you really want to add some interesting practice levels. Just modify levels.js.