Loops HouseKail

NEAR HACKATHON
Team
1 member- 0XOwner
0xNomind
Overview
Games that pay out tokens tend to have three weak spots: a server that simply says "you caught it", prizes that depend on new money coming in, and a chain the player has to think about on every click.
Kail is a cozy pixel fishing game whose whole economy is one NEAR contract. You throw a hook, steer it and pull the catch up. A daily quest pays a ticket; tickets go into a daily draw that pays NEAR out of a prize vault, or are sold to other players. Ten computer-played boats are ordinary NEAR accounts with their own funds: they fish, fill the quest and trade on the same on-chain markets as players, by rules in one readable file, and each of their orders says why it asks its price.
How NEAR fits in:
- Every throw and every catch is a transaction sent by the player’s own account, signed by a function-call key that can only play. One approval, then no wallet window.
- Coins, bait, fish, chest finds and tickets are NEP-245 tokens of one contract. The quest, both markets, the vault and the draw are in it too.
- A catch counts only after the game’s server has replayed the player’s moves and signed its approval, which the contract verifies.
- The day’s prize is a fifth of the vault and the price of a coin follows it, so nobody sets prices by hand, and the vault pays for its own draws.
- Sign-in is with a NEAR wallet, or with Google, Apple or email through NEAR Auth (on testnet NEAR Auth’s shared client only allows localhost, so the hosted demo uses the wallet).
It can be checked without a wallet: npm run verify reads testnet and tests the README’s claims one by one, and npm run simulate plays a week of the economy in a second. Live on NEAR testnet at https://kail.nomind.dev