Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RB_StrongestBrain_250520
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
RB_StrongestBrain_250520
Commits
6b18751d
Commit
6b18751d
authored
May 30, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
01051606
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
118 additions
and
118 deletions
+118
-118
index.html
dist/index.html
+116
-116
Game.ts
src/pages/GamePage/Game.ts
+2
-2
No files found.
dist/index.html
View file @
6b18751d
This diff is collapsed.
Click to expand it.
src/pages/GamePage/Game.ts
View file @
6b18751d
...
@@ -77,7 +77,7 @@ export class Game extends Base {
...
@@ -77,7 +77,7 @@ export class Game extends Base {
},
1000
);
},
1000
);
}
}
nextLevel
()
{
async
nextLevel
()
{
gameStore
.
gameInfo
.
levelIndex
++
;
gameStore
.
gameInfo
.
levelIndex
++
;
const
{
levelIndex
,
levelIdxArr
}
=
gameStore
.
gameInfo
;
const
{
levelIndex
,
levelIdxArr
}
=
gameStore
.
gameInfo
;
...
@@ -86,7 +86,7 @@ export class Game extends Base {
...
@@ -86,7 +86,7 @@ export class Game extends Base {
if
(
levelIndex
>=
LevelArr
.
length
)
{
if
(
levelIndex
>=
LevelArr
.
length
)
{
this
.
setPauseCd
(
true
);
this
.
setPauseCd
(
true
);
clearInterval
(
this
.
intervalId
);
clearInterval
(
this
.
intervalId
);
gameStore
.
middleSubmit
(
levelIndex
);
await
gameStore
.
middleSubmit
(
levelIndex
);
gameStore
.
submit
(
LevelArr
.
length
);
gameStore
.
submit
(
LevelArr
.
length
);
return
;
return
;
}
else
{
}
else
{
...
...
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