Giving a Live Talk on a Pickleball Court
Présenté par : Craig Dennis
Première diffusion : 31 octobre, de 9:30 à 10:00 UTC−4
English
Transcription (Bêta)
Recently I got a chance to talk at a pickleball court give a talk a tech talk and I wasn't allowed to talk about Cloudflare which is a bummer because I love talking about Cloudflare but I had to talk about like how I use AI and I was like I haven't played pickleball since like the Wii and I was thinking about like oh wouldn't that be cool if I could make a game that was basically like the Wii where it used the motion controls on your phone and I was like maybe I could just like try to maybe make it go ah make a one-shot app like that where oh shoot I'll turn the practice off where I made a pickleball game and I could use maybe the accelerometer thing and so I decided to give that talk check this out I made a little app too to show so this is what I did I said I want to build a web-based multiplayer game that lets people play virtual pickleball very clear right I think that that's so clear and I want them to use their phones for controllers like the Wii so it's you know what's what's cool about this is it understands contextually that what the Wii is and I like to do this I like to say I think that you should be able to use the accelerometer API I think you can I don't know if you can on their phones it's a two -player game and each player has a view of their screen split in the middle right so I was like trying to recreate that Wii thing and the view's head-on we get kind of a little specific so they see the pickle that's why it's coming as a pickle because I said pickleball and there I said pickle coming in they swing and it goes out of left frame and it comes in the right play the player hits it they connect via QR code and their phone is connected uh it sends over web sockets right and I know that and I don't think we should show the racket on the screen because I think that was a little weird how about we just make sure that when the person's swinging when the pickle comes in and I want to use durable objects uh here is the skill I snuck this in because I wanted to show a power of durable objects and web sockets uh and I post the skill and then I also posted the best practices right because uh that's how that goes and then I also made this little app where you could go and you could take this so you could scan this QR code if you wanted to uh and it will come to a page that will give you the prompt and what a bonkers time it is to be a builder where you could just do this and I think that this is what you want I'm gonna put a link to the repo in there too I don't know if you want this I'll put a link to this uh as well so you could go and make your own wii base games because how fun is that what are you building thanks so much for hanging out and we'll see you real soon I got to get back to this game let's go and I've got a practice here but you should invite a friend and play it's really actually fun I got people to stand up and do it as well and it gets faster as it goes it's so fun uh you're gonna do this
