Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BoardGame3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
BoardGame3
Commits
10f380a1
Commit
10f380a1
authored
Jul 21, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 下调AI胜率 90% → 75%
parent
e3bb0d37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
AI.ts
assets/BoardGame3/script/AI.ts
+1
-1
tsconfig.json
tsconfig.json
+3
-0
No files found.
assets/BoardGame3/script/AI.ts
View file @
10f380a1
...
@@ -45,7 +45,7 @@ export class AI {
...
@@ -45,7 +45,7 @@ export class AI {
});
});
}
else
{
}
else
{
const
idx
=
this
.
getNextRightIdx
();
const
idx
=
this
.
getNextRightIdx
();
if
(
Math
.
random
()
<
0.
9
)
{
if
(
Math
.
random
()
<
0.
75
)
{
this
.
networkHelper
.
sendFrame
({
this
.
networkHelper
.
sendFrame
({
type
:
"
right
"
,
type
:
"
right
"
,
idx
:
idx
,
idx
:
idx
,
...
...
tsconfig.json
View file @
10f380a1
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
"experimentalDecorators"
:
true
,
"experimentalDecorators"
:
true
,
"skipLibCheck"
:
true
,
"skipLibCheck"
:
true
,
"outDir"
:
"temp/vscode-dist"
,
"outDir"
:
"temp/vscode-dist"
,
"allowJs"
:
true
,
"forceConsistentCasingInFileNames"
:
true
"forceConsistentCasingInFileNames"
:
true
},
},
"exclude"
:
[
"exclude"
:
[
...
@@ -14,6 +15,8 @@
...
@@ -14,6 +15,8 @@
"local"
,
"local"
,
"temp"
,
"temp"
,
"build"
,
"build"
,
"form"
,
"form_angular"
,
"settings"
"settings"
]
]
}
}
\ No newline at end of file
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