Created at 6pm, Jan 6
ProactiveSoftware Development
0
Simple APPS for Beginners
w9W5AMBvBvDNxmkgbaRX1iA9ne_5qm_aZ3CZAgXfQlY
File Type
PDF
Entry Count
4
Embed. Model
jina_embeddings_v2_base_en
Index Type
hnsw
viewDidLoad() if let view = self.view as! SKView? { let scene = MemoryMatchScene(size: view.bounds.size) scene.scaleMode = .aspectFill view.presentScene(scene) view.ignoresSiblingOrder = true view.showsFPS = true view.showsNodeCount = true } } } MemoryMatchScene.swi+: swi+ Copy code import SpriteKit class MemoryMatchScene: SKScene { // Add your Memory Match game logic and scene setup here } 3. Pong Game: GameViewController.swi+: swi+ Copy code import UIKit import SpriteKit class GameViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() if let view = self.view as! SKView? { let scene = PongScene(size: view.bounds.size) scene.scaleMode = .aspectFill view.presentScene(scene) view.ignoresSiblingOrder = true view.showsFPS = true view.showsNodeCount = true } } } PongScene.swi+: swi+ Copy code
id: c867477269416334466cb4a9bc25084d - page: 2
You'll need to ll in the details of each game's logic, user interacMons, and scene setup based on the specic requirements of each game. Let me know if you'd like to conMnue with a specic game, and I can provide more details for that one.
id: 8a5eddd05e8fff5184639ba5374222ab - page: 4
How to Retrieve?
# Search

curl -X POST "https://search.dria.co/hnsw/search" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"rerank": true, "top_n": 10, "contract_id": "w9W5AMBvBvDNxmkgbaRX1iA9ne_5qm_aZ3CZAgXfQlY", "query": "What is alexanDRIA library?"}'
        
# Query

curl -X POST "https://search.dria.co/hnsw/query" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"vector": [0.123, 0.5236], "top_n": 10, "contract_id": "w9W5AMBvBvDNxmkgbaRX1iA9ne_5qm_aZ3CZAgXfQlY", "level": 2}'