This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
if __name__ == '__main__': | |
swap = 0 | |
not_swap = 0 | |
for i in range(1000): | |
doors = range(4) | |
reward = random.randint(0, len(doors)-1) | |
select = random.randint(0, len(doors)-1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
This is an adapter for quick-cocos2d-x touch system and cocos2d-x touch system | |
Usage: invoke adapt method | |
adapt(target, withModal) | |
target: Mixed. the quick obj to adjust | |
withModal: boolean. If swallow all touch event |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.