Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

1/ 🎮 Gamejam is coming this Wednesday so we built a new example game! Check out on-chain 2048: Match tiles until you reach a 2048 tile. Every move is on-chain and this has many advantages, believe it or not. How does it work? 🧵👇

49,256 görüntüleme • 3 yıl önce •via X (Twitter)

8 Yorum

Solana Developers profil fotoğrafı
Solana Developers3 yıl önce

2/ 🤝 Auto-approve: The game uses @gumisfunn session keys. This means a small amount of SOL is saved in a session token. The session token is valid for 24 hours and is allowed to sign for certain actions in the program, namely the “push tiles into a direction instruction”.

Solana Developers profil fotoğrafı
Solana Developers3 yıl önce

3/ ⚡Speed: What makes the game so fast? ✅Solana’s fast confirmation times ✅Listening to game data accounts via WebSocket connection

Solana Developers profil fotoğrafı
Solana Developers3 yıl önce

4/ 🔐 Verifiable: Every game is saved in a PDA. This PDA is either attached to the player wallet or any NFT. This means you can verify the game state yourself just by requesting the PDAs data.

Solana Developers profil fotoğrafı
Solana Developers3 yıl önce

5/ 🏗️ Composable: There is a small gameplay fee, which can be replaced with the wallet address of the person hosting the client. You don't even need to build the program. Just fork it and deploy your own! If you would like to contribute, please open a PR:

Solana Developers profil fotoğrafı
Solana Developers3 yıl önce

6/ 💻 Intrigued and want to build a game on Solana? Get involved in Solana Speedrun, a Gamejam starting this Wednesday July 26th:

🪷Blockiosaurus🪷🦾 profil fotoğrafı
🪷Blockiosaurus🪷🦾3 yıl önce

Wow I didn't even consider using a websocket callback for state accounts. I've been polling this whole time 🤦

guv 🐸 profil fotoğrafı
guv 🐸3 yıl önce

Nice

amilz profil fotoğrafı
amilz3 yıl önce

siiick

Benzer Videolar