From 902659c13cc92bedb44433ae15502e629fa79c33 Mon Sep 17 00:00:00 2001 From: "italiano@oplabs.co" Date: Tue, 9 Jul 2024 15:21:04 -0400 Subject: [PATCH] Adds basic deploy script for game --- contracts/script/{Counter.s.sol => Deploy.s.sol} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename contracts/script/{Counter.s.sol => Deploy.s.sol} (66%) diff --git a/contracts/script/Counter.s.sol b/contracts/script/Deploy.s.sol similarity index 66% rename from contracts/script/Counter.s.sol rename to contracts/script/Deploy.s.sol index df9ee8b0..82b48e4f 100644 --- a/contracts/script/Counter.s.sol +++ b/contracts/script/Deploy.s.sol @@ -2,11 +2,13 @@ pragma solidity ^0.8.13; import {Script, console} from "forge-std/Script.sol"; +import {TicTacToe} from "../src/TicTacToe.sol"; -contract CounterScript is Script { +contract DeployScript is Script { function setUp() public {} function run() public { vm.broadcast(); + new TicTacToe(); } }