@jeremyckahn/farmhand
Version:
A farming game
17 lines (14 loc) • 320 B
text/typescript
import { v4 as uuid } from 'uuid'
export const getPeerMetadataStub = () => {
const peerMetadata: farmhand.peerMetadata = {
cowsSold: {},
cropsHarvested: {},
dayCount: 0,
experience: 0,
playerId: uuid(),
money: 0,
pendingPeerMessages: [],
version: '0.0.0',
}
return peerMetadata
}