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 experimental ABIEncoderV2; | |
pragma solidity ^0.4.23; | |
contract BattleHash { | |
uint256 public numGames; | |
modifier validShot(uint256 gameId) { | |
Game storage game = games[gameId]; | |
address lastShooter = getLastShooter(game); |