Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
56fcd1e
feat: add tournament contract
psychemist Oct 26, 2025
b5e01cc
feat: update tictactoe contract and add tournament game trait
psychemist Oct 26, 2025
0ca73bd
fix: modify stacks wallet connection logic (package version upgrade)
psychemist Oct 26, 2025
73979d2
fix: correct incorrect syntax
psychemist Oct 26, 2025
3def0aa
test: add tournament tests
psychemist Oct 26, 2025
c3134b1
feat: upgrade contracts for deployment
psychemist Oct 26, 2025
54892f7
deploy: deploy contracts to tesnet
psychemist Oct 26, 2025
c69a4da
deploy: remove deprecated function from tournament contract, rename, …
psychemist Oct 26, 2025
c7901b8
feat: modify existing contract hooks
psychemist Oct 26, 2025
ba6a57e
feat: add tournamennt hooks
psychemist Oct 26, 2025
df73d33
feat: add tournament creation and view pages
psychemist Oct 26, 2025
4db9721
feat: add tournament components
psychemist Oct 26, 2025
36d0e1b
fix: add function for fetching [all] tournament ids
psychemist Oct 26, 2025
a1e2eb9
fix: fix stack connection issues on leather and xverse wallets
psychemist Oct 27, 2025
2952454
feat: add caching to contract calls to avoid hitting Hiro's rate limits
psychemist Oct 27, 2025
2edf617
fix: fix bug where tournament participants could not see active match…
psychemist Oct 27, 2025
b3742fa
feat: block new participants from joining tournament with full player…
psychemist Oct 27, 2025
587a465
feat: enhance tournament game functionality
psychemist Oct 29, 2025
62d0255
feat: upgrade tournament contract
psychemist Oct 29, 2025
b0417d2
deploy: deploy version 4 contracts to devnet and testnet
psychemist Oct 29, 2025
46a0382
feat: update tournament hooks & components
psychemist Oct 29, 2025
6837cce
script: add script for storing tournament contract principal in tic-t…
psychemist Oct 29, 2025
a85932d
style: fix text fonts for legibility
psychemist Oct 29, 2025
d0e5431
test: add full integration tests for tournament and game contracts
psychemist Oct 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ coverage
*.info
costs-reports.json
node_modules
.env
16 changes: 14 additions & 2 deletions Clarinet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,22 @@ authors = []
telemetry = false
cache_dir = './.cache'
requirements = []
[contracts.tic-tac-toe]
path = 'contracts/tic-tac-toe.clar'

[contracts.game-tournament-trait]
path = 'contracts/game-tournament-trait.clar'
clarity_version = 3
epoch = 3.0

[contracts.tic_tac_toe]
path = 'contracts/tic_tac_toe.clar'
clarity_version = 3
epoch = 3.0

[contracts.tic_tac_toe_tournament]
path = 'contracts/tic_tac_toe_tournament.clar'
clarity_version = 3
epoch = 3.0

[repl.analysis]
passes = ['check_checker']

Expand Down
9 changes: 9 additions & 0 deletions contracts/game-tournament-trait.clar
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
;; Trait for tournament game integration
;; This allows tournament contract to create games without circular dependency

(define-trait game-tournament-trait
(
;; Create a tournament game between two players
(create-tournament-game (principal principal uint uint uint) (response uint uint))
)
)
199 changes: 0 additions & 199 deletions contracts/tic-tac-toe.clar

This file was deleted.

Loading