Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
xiaoxiaole
Commits
a80784b9
Commit
a80784b9
authored
Oct 31, 2019
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
bcbfa6df
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
793 additions
and
49 deletions
+793
-49
Chapter10.ts
egret/src/something/chapters/Chapter10.ts
+374
-31
Chapter5.ts
egret/src/something/chapters/Chapter5.ts
+122
-8
Chapter6.ts
egret/src/something/chapters/Chapter6.ts
+1
-1
Chapter7.ts
egret/src/something/chapters/Chapter7.ts
+2
-2
Chapter8.ts
egret/src/something/chapters/Chapter8.ts
+4
-4
Chapter9.ts
egret/src/something/chapters/Chapter9.ts
+288
-1
ChickenEgg.ts
egret/src/something/class/ChickenEgg.ts
+2
-2
No files found.
egret/src/something/chapters/Chapter10.ts
View file @
a80784b9
This diff is collapsed.
Click to expand it.
egret/src/something/chapters/Chapter5.ts
View file @
a80784b9
This diff is collapsed.
Click to expand it.
egret/src/something/chapters/Chapter6.ts
View file @
a80784b9
...
...
@@ -341,7 +341,7 @@ export const Chapters6: ChapterData[] = [
//117
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
20
,
bubbleProbability
:
0.2
,
stepCount
:
23
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
6
,
count
:
6
}]
},
starScores
:
[
5000
,
12000
,
21000
],
...
...
egret/src/something/chapters/Chapter7.ts
View file @
a80784b9
...
...
@@ -317,7 +317,7 @@ export const Chapters7: ChapterData[] = [
},
//133
{
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
20
,
stepCount
:
26
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
94
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
1
,
0
,
2
,
2
,
2
,
2
,
2
,
0
,
1
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
2
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
2
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
2
,
1
,
1
,
0
,
0
,
3
,
0
,
0
,
1
,
1
,
1
,
1
,
3
,
3
,
3
,
3
,
3
,
1
,
1
,
1
,
1
,
3
,
2
,
2
,
2
,
3
,
1
,
1
,
1
,
1
,
3
,
2
,
2
,
2
,
3
,
1
,
1
,
0
,
1
,
3
,
2
,
2
,
2
,
3
,
1
,
0
],
connectedLats
:
[[
29
,
47
],
[
30
,
48
],
[
32
,
50
],
[
33
,
51
]],
elements
:
[
1
,
1
,
2
,
4
,
4
,
4
,
2
,
1
,
1
,
2
,
7
,
2
,
4
,
4
,
4
,
2
,
7
,
2
,
2
,
7
,
2
,
4
,
4
,
4
,
2
,
7
,
2
,
2
,
7
,
2
,
2
,
2
,
2
,
2
,
7
,
2
,
7
,
7
,
1
,
1
,
1
,
1
,
1
,
7
,
7
,
7
,
7
,
1
,
1
,
1
,
1
,
1
,
7
,
7
,
7
,
7
,
1
,
4
,
4
,
4
,
1
,
7
,
7
,
7
,
7
,
1
,
4
,
4
,
4
,
1
,
7
,
7
,
1
,
7
,
1
,
4
,
4
,
4
,
1
,
7
,
1
],
baseElements
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
recycles
:
[],
generateLats
:
[{
index
:
0
,
type
:
null
},
{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
8
,
type
:
null
},
{
index
:
10
,
type
:
null
},
{
index
:
16
,
type
:
null
}]
}
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
bubbleProbability
:
0.2
,
stepCount
:
26
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
94
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
1
,
0
,
2
,
2
,
2
,
2
,
2
,
0
,
1
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
2
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
2
,
2
,
1
,
2
,
2
,
2
,
2
,
2
,
1
,
2
,
1
,
1
,
0
,
0
,
3
,
0
,
0
,
1
,
1
,
1
,
1
,
3
,
3
,
3
,
3
,
3
,
1
,
1
,
1
,
1
,
3
,
2
,
2
,
2
,
3
,
1
,
1
,
1
,
1
,
3
,
2
,
2
,
2
,
3
,
1
,
1
,
0
,
1
,
3
,
2
,
2
,
2
,
3
,
1
,
0
],
connectedLats
:
[[
29
,
47
],
[
30
,
48
],
[
32
,
50
],
[
33
,
51
]],
elements
:
[
1
,
1
,
2
,
4
,
4
,
4
,
2
,
1
,
1
,
2
,
7
,
2
,
4
,
4
,
4
,
2
,
7
,
2
,
2
,
7
,
2
,
4
,
4
,
4
,
2
,
7
,
2
,
2
,
7
,
2
,
2
,
2
,
2
,
2
,
7
,
2
,
7
,
7
,
1
,
1
,
1
,
1
,
1
,
7
,
7
,
7
,
7
,
1
,
1
,
1
,
1
,
1
,
7
,
7
,
7
,
7
,
1
,
4
,
4
,
4
,
1
,
7
,
7
,
7
,
7
,
1
,
4
,
4
,
4
,
1
,
7
,
7
,
1
,
7
,
1
,
4
,
4
,
4
,
1
,
7
,
1
],
baseElements
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
recycles
:
[],
generateLats
:
[{
index
:
0
,
type
:
null
},
{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
8
,
type
:
null
},
{
index
:
10
,
type
:
null
},
{
index
:
16
,
type
:
null
}]
}
},
//134
{
...
...
@@ -406,7 +406,7 @@ export const Chapters7: ChapterData[] = [
},
//139
{
baseElementTypes
:
[
0
,
1
,
3
,
2
,
4
],
bubbleProbability
:
5
,
stepCount
:
27
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
55
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
0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index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
7
,
type
:
null
},
{
index
:
8
,
type
:
null
}]
}
baseElementTypes
:
[
0
,
1
,
3
,
2
,
4
],
bubbleProbability
:
0.2
,
stepCount
:
27
,
passTarget
:
{
type
:
1
,
elements
:
[{
type
:
9
,
count
:
55
}]
},
starScores
:
[
5000
,
12000
,
21000
],
map
:
{
lattices
:
[
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
2
,
0
,
2
,
3
,
1
,
2
,
1
,
3
,
2
,
0
,
0
,
0
,
3
,
1
,
1
,
1
,
3
,
0
,
0
,
0
,
2
,
3
,
3
,
3
,
3
,
3
,
2
,
0
,
2
,
1
,
1
,
3
,
0
,
3
,
1
,
1
,
2
,
2
,
1
,
1
,
3
,
3
,
3
,
1
,
1
,
2
,
2
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
2
],
connectedLats
:
[[
18
,
54
],
[
28
,
46
],
[
13
,
31
],
[
49
,
67
],
[
34
,
52
],
[
26
,
62
]],
elements
:
[
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
],
baseElements
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
],
recycles
:
[],
generateLats
:
[{
index
:
0
,
type
:
null
},
{
index
:
1
,
type
:
null
},
{
index
:
2
,
type
:
null
},
{
index
:
3
,
type
:
null
},
{
index
:
4
,
type
:
null
},
{
index
:
5
,
type
:
null
},
{
index
:
6
,
type
:
null
},
{
index
:
7
,
type
:
null
},
{
index
:
8
,
type
:
null
}]
}
},
//140
{
...
...
egret/src/something/chapters/Chapter8.ts
View file @
a80784b9
This diff is collapsed.
Click to expand it.
egret/src/something/chapters/Chapter9.ts
View file @
a80784b9
This diff is collapsed.
Click to expand it.
egret/src/something/class/ChickenEgg.ts
View file @
a80784b9
import
{
ElementType
}
from
"../enum/ElementType"
;
//四种状态的图片
//四种状态的图片
,剩三种了
const
images
=
{
2
:
"ele"
+
ElementType
.
CHICKEN_EGG
+
"_png"
,
2
:
"ele"
+
ElementType
.
CHICKEN_EGG
+
"_png"
,
// 2: "eggStatus2_png",
1
:
"eggStatus1_png"
,
0
:
"eggStatus0_png"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment