Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

♟️ KewrChess - Gno.land Edition


⚔️ Game #0

Status: PLAYING 🟢 Turn: White (⚪)

  • ⚪ White: g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep
  • ⚫ Black: g1kewrchessplayerblack777777777777777
♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜
♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟
⬜ 🟩 ⬜ 🟩 ⬜ 🟩 ⬜ 🟩
🟩 ⬜ 🟩 ⬜ 🟩 ⬜ 🟩 ⬜
⬜ 🟩 ⬜ 🟩 ⬜ 🟩 ⬜ 🟩
🟩 ⬜ 🟩 ⬜ 🟩 ⬜ 🟩 ⬜
♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖

💡 How to Play:

 1# Join automatic matchmaking queue (Find Match on-chain):
 2gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess JoinQueue \
 3  --args "[your_address]"
 4
 5# Leave / cancel matchmaking queue:
 6gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess LeaveQueue \
 7  --args "[your_address]"
 8
 9# Standard move (default auto-promotion to Queen):
10gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess MakeMove \
11  --args "[your_address]" \
12  --args [gameID] \
13  --args [fromRow] --args [fromCol] \
14  --args [toRow] --args [toCol]
15
16# Move with promotion choice (Q = Queen, N = Knight, R = Rook, B = Bishop):
17gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess MakeMovePromote \
18  --args "[your_address]" \
19  --args [gameID] \
20  --args [fromRow] --args [fromCol] \
21  --args [toRow] --args [toCol] \
22  --args "N"
23
24# Resign:
25gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess Resign \
26  --args "[your_address]" \
27  --args [gameID]
28
29# Offer a draw:
30gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess OfferDraw \
31  --args "[your_address]" \
32  --args [gameID]
33
34# Accept draw offer:
35gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess AcceptDraw \
36  --args "[your_address]" \
37  --args [gameID]
38
39# Decline draw offer:
40gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess DeclineDraw \
41  --args "[your_address]" \
42  --args [gameID]
43
44# Final settlement (Officially settle match result on-chain via move verification):
45gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess SettleGame \
46  --args "[your_address]" \
47  --args [gameID] \
48  --args "e2e4 e7e5 d1h5 b8c6 f1c4 g8f6 h5f7"   # Full UCI chess move history
49
50# Confirm settlement result by opponent (Instant approval):
51gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess ConfirmSettlement \
52  --args "[your_address]" \
53  --args [gameID]
54
55# Dispute fraudulent settlement proposal:
56gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess DisputeSettlement \
57  --args "[your_address]" \
58  --args [gameID]
59
60# Start turn timer if opponent is AFK / rage quits:
61gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess StartTurnTimer \
62  --args "[your_address]" \
63  --args [gameID] \
64  --args "[current_moves_uci]"
65
66# Claim win due to opponent abandonment / timeout:
67gno call gno.land/r/g1g7dna0gp4nec5rza4q25htj0cjgswrxefp37ep/kewrchess ClaimTimeout \
68  --args "[your_address]" \
69  --args [gameID]