Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-match
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-match
Commits
a242cd83
Commit
a242cd83
authored
Feb 25, 2013
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
match
parent
709ef083
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mycard-server-match.coffee
mycard-server-match.coffee
+2
-2
No files found.
mycard-server-match.coffee
View file @
a242cd83
...
...
@@ -24,7 +24,7 @@ server = http.createServer (request, response)->
response
.
connection
.
setTimeout
(
0
)
else
s
=
settings
.
servers
[
0
]
room
=
"mycard://
#{
s
.
ip
}
:
#{
s
.
port
}
/
#{
room_index
}
$
#{
Math
.
floor
(
Math
.
random
()
*
1000
)
}
"
#new Buffer("Hello World").toString('base64'));
room
=
"mycard://
#{
s
.
ip
}
:
#{
s
.
port
}
/
M#
#{
room_index
}
$
#{
Math
.
floor
(
Math
.
random
()
*
1000
)
}
"
#new Buffer("Hello World").toString('base64'));
console
.
log
"matched:
#{
room
}
"
opponent_response
=
waiting
.
pop
()
opponent_response
.
end
room
...
...
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