8dd15ee3944044abeedac38b2bedb0db6f5b61ca,src/core/player.py,Player,handle_call_score,#Player#Any#,67
Before Change
call_end = score == 3 or self.table.players[next_seat].is_called
response = [Pt.RSP_CALL_SCORE, self.uid, score, call_end]
message = tornado.escape.json_encode(response)
for g in self.table.players:
g.send(message)
logger.info("Player[%d] call score[%d]", self.uid, score)
if call_end:
if score == 0:
After Change
if score > 3:
logger.warning("Player[%d] CALL SCORE[%d] CHEAT", self.uid, score)
return
self.is_called = True
next_seat = (self.seat + 1) % 3
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 3
Instances
Project Name: mailgyc/doudizhu
Commit Name: 8dd15ee3944044abeedac38b2bedb0db6f5b61ca
Time: 2017-07-02
Author: mailgyc@163.com
File Name: src/core/player.py
Class Name: Player
Method Name: handle_call_score
Project Name: OpenMined/Grid
Commit Name: 00be4ae634832d8c39a2468c66349df964585a2c
Time: 2019-10-21
Author: ionesiojr@gmail.com
File Name: grid/websocket_client.py
Class Name: WebsocketGridClient
Method Name: connect_nodes
Project Name: biolab/orange3
Commit Name: a0ea0e2a8288b7799f5d67427fa64062f3afc7a7
Time: 2013-12-02
Author: anze.staric@gmail.com
File Name: Orange/widgets/visualize/owparallelcoordinates.py
Class Name: OWParallelCoordinates
Method Name: sendSelections
Project Name: OpenMined/Grid
Commit Name: 00be4ae634832d8c39a2468c66349df964585a2c
Time: 2019-10-21
Author: ionesiojr@gmail.com
File Name: grid/websocket_client.py
Class Name: WebsocketGridClient
Method Name: get_node_id
Project Name: uuazed/numerapi
Commit Name: 80e4f15860b6b002f2dd3f420eaeff63e202eb2f
Time: 2017-11-18
Author: wolfgang@steitz.me
File Name: numerapi/numerapi.py
Class Name: NumerAPI
Method Name: upload_predictions
Project Name: biolab/orange3
Commit Name: 59029b8e7e3310722b4ed94c3562e7b01b87befc
Time: 2017-03-09
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owmergedata.py
Class Name: OWMergeData
Method Name: commit