Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projet-cdaw
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
Quentin Vrel
projet-cdaw
Commits
64bf6542
Commit
64bf6542
authored
Dec 03, 2020
by
Zohten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minr change
parent
ab148e36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
122 additions
and
122 deletions
+122
-122
mj-tuiles.js
frontend/src/utils/mj-tuiles.js
+122
-122
No files found.
frontend/src/utils/mj-tuiles.js
View file @
64bf6542
...
...
@@ -33,9 +33,9 @@ const TILE_NAMES = {
"31"
:
"green dragon"
,
"32"
:
"red dragon"
,
"33"
:
"white dragon"
};
};
const
TILE_CODES
=
{
const
TILE_CODES
=
{
"0"
:
"b1"
,
"1"
:
"b2"
,
"2"
:
"b3"
,
...
...
@@ -70,9 +70,9 @@ const TILE_NAMES = {
"31"
:
"F"
,
"32"
:
"C"
,
"33"
:
"P"
};
};
const
TILE_GLYPHS
=
{
const
TILE_GLYPHS
=
{
"0"
:
"Sou1.svg"
,
"1"
:
"Sou2.svg"
,
"2"
:
"Sou3.svg"
,
...
...
@@ -107,21 +107,21 @@ const TILE_NAMES = {
"31"
:
"Hatsu.svg"
,
"32"
:
"Chun.svg"
,
"33"
:
"Haku.svg"
};
};
const
SUIT_NAMES
=
{
const
SUIT_NAMES
=
{
"0"
:
"bamboo"
,
"1"
:
"characters"
,
"2"
:
"dots"
,
"3"
:
"winds"
,
"4"
:
"dragons"
};
};
if
(
typeof
module
!==
"undefined"
&&
module
.
exports
)
{
if
(
typeof
module
!==
"undefined"
&&
module
.
exports
)
{
module
.
exports
=
{
TILE_NAMES
,
TILE_CODES
,
TILE_GLYPHS
,
SUIT_NAMES
};
}
\ No newline at end of file
}
\ 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