Loops HouseDerelict

NEAR HACKATHON
Links
Team
1 member- YUOwner
Yusrah Mohammed
Overview
Most NFTs are a picture with an owner. They cannot hold money, owe anyone, or carry obligations to a new owner, so selling one tells the buyer nothing about what they are actually taking on.
DERELICT is a six-turn strategy game where the NFT is the business. Each player launches an orbital salvage station, docks visiting ships for credits, manages fuel and hull damage, and decides when a repair is worth the money. The score is what is left in the station's treasury after turn 6. At any point the station can be listed and sold, and the buyer inherits everything: fuel, damage, treasury, prepaid visitor fees and any unpaid repair, while the original repair supplier still gets paid.
How NEAR fits in: every station is its own NEAR account, created by a factory contract with no access keys, so only the station's contract can move its money. The station is a standard NEP-171 NFT and keeps separate on-chain buckets for operating funds, visitor escrow, the repair reserve, seller proceeds and pending payouts, accounting for every yoctoNEAR. purchase(expected_revision) pays the seller the exact listed price and moves ownership in one step; the owner epoch increases, the old owner loses control, and debts stay owed to the same accounts. The web app reads all state back from the contract and never shows a move as done until the chain confirms it.
Live on NEAR testnet with any NEAR wallet at https://playderelict.xyz. Contract unit tests and sandbox integration tests, including a full mid-repair sale, are in the repository.