Skip to content

Commit

Permalink
Add some repeat levels
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipChalupa committed Feb 4, 2025
1 parent d82d2f2 commit af74892
Showing 1 changed file with 147 additions and 16 deletions.
163 changes: 147 additions & 16 deletions src/data/levelGroups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -730,52 +730,183 @@ export const levelGroups = [
key: makeLevelKey('1'),
description: 'Rozvíjej schopnost řešit složité problémy algoritmy.',
image: story5,
maximumInstructionsCountForBestRating: 0, // @TODO
allowedBlocks: [], // @TODO
maximumInstructionsCountForBestRating: 4,
allowedBlocks: ['go_forward', 'kiss', 'repeat'],
environment: {
startRowIndex: 0,
elements: [],
elements: [
{
type: 'frog',
x: 5,
y: 0,
},
],
foundations: [['grass', 'grass', 'grass', 'grass', 'grass', 'grass']],
}, // @TODO
},
},
{
label: 'Level 2',
key: makeLevelKey('2'),
description: 'Pracuj s API, soubory a databázemi.',
image: story6,
maximumInstructionsCountForBestRating: 0, // @TODO
allowedBlocks: [], // @TODO
maximumInstructionsCountForBestRating: 9,
allowedBlocks: ['go_forward', 'kiss', 'pick', 'hit', 'repeat'],
environment: {
startRowIndex: 0,
elements: [],
elements: [
{
type: 'sword',
x: 1,
y: 0,
},
{
type: 'thicket',
x: 3,
y: 0,
},
{
type: 'thicket',
x: 4,
y: 0,
},
{
type: 'thicket',
x: 5,
y: 0,
},
{
type: 'frog',
x: 7,
y: 0,
},
],
foundations: [
['grass', 'grass', 'grass', 'grass', 'grass', 'grass', 'grass'],
[
'grass',
'grass',
'grass',
'grass',
'grass',
'grass',
'grass',
'grass',
],
],
}, // @TODO
},
},
{
label: 'Level 3',
key: makeLevelKey('3'),
description: 'Ponoř se do návrhu programových struktur a modulů.',
image: story7,
maximumInstructionsCountForBestRating: 0, // @TODO
allowedBlocks: [], // @TODO
maximumInstructionsCountForBestRating: 13,
allowedBlocks: ['go_forward', 'pick', 'hit', 'jump', 'kiss', 'repeat'],
environment: {
startRowIndex: 0,
elements: [],
startRowIndex: 2,
elements: [
{
type: 'thicket',
x: 3,
y: 2,
},
{
type: 'thicket',
x: 3,
y: 2,
},
{
type: 'thicket',
x: 3,
y: 2,
},
{
type: 'thicket',
x: 3,
y: 2,
},
{
type: 'sword',
x: 1,
y: 2,
},
{
type: 'hole',
x: 5,
y: 2,
},
{
type: 'thicket',
x: 4,
y: 2,
},
{
type: 'web',
x: 7,
y: 2,
},
{
type: 'frog',
x: 10,
y: 2,
},
{
type: 'hole',
x: 8,
y: 2,
},
{
type: 'web',
x: 9,
y: 0,
},
{
type: 'web',
x: 10,
y: 1,
},
],
foundations: [
[
'sky',
'sky',
'sky',
'sky',
'sky',
'sky',
'wall',
'wall',
'wall',
'wall',
'wall',
],
[
'sky',
'sky',
'sky',
'sky',
'sky',
'sky',
'wall',
'wall',
'wall',
'wall',
'wall',
],
[
'grass',
'grass',
'grass',
'grass',
'grass',
'grass',
'grass',
'grass',
'floor',
'floor',
'floor',
'floor',
'floor',
],
],
}, // @TODO
},
},
],
},
Expand Down

0 comments on commit af74892

Please sign in to comment.