Ethereum-*er-s-Dilemma:囚犯的团结困境:police_officer::speaking_head:

时间:2021-04-28 15:46:57
【文件属性】:
文件名称:Ethereum-*er-s-Dilemma:囚犯的团结困境:police_officer::speaking_head:
文件大小:17.39MB
文件格式:ZIP
更新时间:2021-04-28 15:46:57
ethereum smart-contracts blockchain solidity JavaScript eth_*ers_dilemma 关于 博弈论中有一个囚徒的困境。 一轮以上时,我将使用特定的实现。 重要的! 有时bet()已还原。 通常再试一次,将来会解决。 用法 要玩游戏,您需要一个聪明的合约,那里会有这样的方法 contract IGame { uint8 constant DONT_TELL_ANYTHING = 8 ; uint8 constant TELL_EVERYTHING = 10 ; function bet ( uint8 _answer ) external returns ( uint8 res ) ; function seeMyScore ( address _t ) external view returns ( uint res ) ; function seeMyPartnerAnswer (

网友评论