AI can port a game 🍎🐍

Porting code used to be a challenge. We made this JavaScript version of Snake using AI, and now let's use AI to port it to Java with the tool Devra. Here we are in Devra, and we're going to add a task. Look in the JavaScript projects at the JavaScript implementation of Snake. Create a Java port of the game. Create and start, and let's go.
Okay, let's come up with a proposal. Let's just see what it does. That looks good. The first file is here. Yes, let's create that file, and there it goes. Right, let's make this file. The Apple file should pop up. The board game file, all right, it's asking for review, so let's go check out the code. All right, here we go. Oh, it's going. Look at that. Oh my gosh, it looks so good. Perfect.
So, it doesn't have to take weeks to port a project. You don't even have to know the language. You start with your original project, ask it to port it, and even if it gets an error or two, it's doing the majority of the work. At least it gets you most of the way there and saves you hours, if not days, of work. Go to Devra. I've posted a link to the GitHub. Get Devra to try out and make things with AI. Use AI as your co-developer. All right, take care.

View the video

Devra Logo

Devra: AI software and data science assistant