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
-- CRED = "Sa0iBLPNyJQrwpTTG-tWLQU-1QeUAJA73DdxGGiKoJc" | |
Version = "0.3" | |
-- Attack info | |
LastPlayerAttacks = LastPlayerAttacks or {} | |
CurrentAttacks = CurrentAttacks or 0 | |
TenSecondCheck = TenSecondCheck or 0 | |
-- grid dimensions | |
Width = 16 |
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
-- Initializing global variables to store the latest game state and game host process. | |
LatestGameState = LatestGameState or nil | |
Game = Game or nil | |
InAction = InAction or false | |
Logs = Logs or {} | |
colors = { | |
red = "\27[31m", | |
green = "\27[32m", |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "./SimpleStorage.sol"; | |
contract ExtraStorage is SimpleStorage { | |
// + 5 | |
// override | |
function store(uint256 _favouriteNumber) public override { | |
favouriteNumber = _favouriteNumber + 5; |