Loops HouseTrashnino

NEAR HACKATHON
Links
Team
1 member- MIOwner
Michal Strieženec
Overview
Trashnino is a browser-based 3D casino party game where players face animal AI opponents in Liar’s Dice, bluff, and try to con them through natural-language chat. It explores a practical AI security problem: how can an agent be persuaded without giving it authority over game rules, private information, or unlimited funds?
We built multiplayer rooms for up to four participants, two NPC personalities—Don Raccoone and Foxy—free-text AI chat, and a server-authoritative game engine. NPCs receive only their own dice and public state. Their proposed actions pass strict schema and game-rule validation; invalid responses or a five-second timeout trigger a deterministic legal fallback. Free-play Blackjack is also included.
NEAR Testnet powers the TRASH economy: NEP-413 wallet authentication, a NEP-141 token with a free faucet, deposits through ft_transfer_call, match buy-ins held in escrow, on-chain settlement, and withdrawals. The demo shows real testnet transactions. Casino contracts also implement NPC tip limits, restricted function-call permissions, and refund paths. Chat-driven tips and paid information deals are not yet connected to gameplay.
Built with React, TypeScript, React Three Fiber, Java/Spring Boot, a TypeScript NEAR bridge, and Rust smart contracts. The repository includes setup instructions, automated tests, and headless game and payment-flow scripts.
The server is trusted for randomness and match results; contracts constrain fund movement. TRASH has no real-world value. This is a testnet hackathon prototype.