-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: relocate guess hitmap generation
## Why Player guess hitmap was only being generated after checking if the guess was correct which lead to the guess hitmap not being generated at all if the guess was right on the first time, preventing it from being rendered. ## How By relocating the guess hitmap generation, generating it regardless of it being the correct guess or not.
- Loading branch information
Showing
3 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# PowerShell script to extract contract ABIs from smart contracts using forge inspect | ||
|
||
param( | ||
[Parameter(Mandatory=$true)] | ||
[string]$contract, | ||
|
||
[Parameter(Mandatory=$true)] | ||
[string]$path | ||
) | ||
|
||
$command = "forge inspect $contract abi | Set-Content -Path $path -Encoding UTF8" | ||
|
||
Write-Host "Executing command: $command" | ||
Invoke-Expression $command |
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