This file contains hidden or 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
pragma solidity >=0.5.0 <0.6.0; | |
/// @author Julian Sakowski | |
/// @title A prototype game contract | |
contract CoinCollector { | |
/// @dev The amount of coins required to win the game. | |
uint256 private winCondition; | |
/// @dev Maps the subscriber index to an address. | |
mapping (address => uint256) private coinCount; |