Thursday, November 23, 2023

Coding

Dylan coding.


Here is another amazing project Dylan has created and is working on.  It is in the works but wanted to share again with you.  We are so proud of him of his hardworking and dedication in creating this game using AI.  He has been working on it non stop and impressing the teacher beyond his expectations.  This class is a 4 week beta testing class from a program they are in for coding with AI. The teacher created this program for coding with AI.  So impressive!  This program is amazing.  


Below is a thread email on how his sessions went and feedback from the teacher - take it or leave it.  

This is the link of the game. https://www.jippity.pro/projects/87
Dylan can explain how to drive the little guy.

This is a video/photo to show you the code: https://www.loom.com/share/48eea92ded5946f891e4d55add5cdc54

Enjoy!
Jodel

Hello! 

Another great session in the books. Dylan made incredible progress between these last two meetings. It really blew me away. I've been showing team members and friends his game.

When we joined today, Dylan had accidentally broken his game. This spawned a fun "side-quest" where I gave him a look behind the scenes at Jippity. The side-quest was to get the last working version of his game back.

I taught him a bit of SQL (Semantic Query Language), and we navigated through the Jippity database. We found his code, wrote a small python script to parse it, and then got back on track.

Once we had our game going again, we flew through features and changes. It's amazing to see how fluent he has become in the editor, and how familiar he is with code structure. Dylan, your problem solving skills and pattern recognition skills are spectacular. 




Feedback:
Keep going. You've caught on to something special here. The game feels fun already and the way you approach it with both humor (moonwalk easter egg) and seriousness is going to produce something great. 

As for how to improve, your game now has 400 lines of code. It has functions that call 5 or 6 other functions. It's getting very complex. Understanding how it works is going to be increasingly important for making progress. You probably noticed this when the game broke yesterday and was hard to fix. I'd spend some time seeing if you can explain how each function works, and understand how they all fit together. I'll start working on a "highlight to explain code" feature to make this easier for you as well. 

Your prompts are getting better, your observation skills are improving, and your written communication is much clearer than I saw even last week. 





What the Program is
  • Over one month, Dylan will build a software project of his own design. He'll build it from scratch, using an AI to coach him through it. I'll be there to guide him on how to leverage AI and to steer him away from particularly difficult implementations. 
What Dylan is building
  • A surfer side-scroller game
  • A geo-dash type game, where enemies come towards you and you have to jump to avoid them
How session 1 went
  • Dylan showed exceptional curiosity, impressive perseverance, and a strong foundation of problem-solving skills. 
  • Our projects go through three stages: (Scoping, Building, Launching). Dylan was excited to get building, and so we spent very little time on the scoping stage. As soon as he got in, he started going back and forth with the bot. A number of times, he decided to poke around in the code and try to make manual changes himself. Often, we discussed how the structure of the code worked (e.g. functions calling other functions). Here are the two projects we started on + a lil info about his experience in each
    • Surfer-sidescroller. We started here and moved on after about 30min, realizing this wasn't a great project for us
      • Dylan figured out how to import assets and point to their URL to render them
      • He troubleshot through how to make a "wave", and with the AIs help, we settled on a sine function to adjust the y-position of our wave. 
    • Geo-dash
      • Figured out how to create different shapes, and why different shape functions required different inputs. (e.g. triangles take 6 arguments, an x,y position for each vertice, whereas squares only take 4)
      • Implemented animation of them by creating a speed variable, and moving the enemies by this speed on each frame change. 
Feedback:
  • It's a bit too early imo to give any deeply meaningful feedback, but I'll send a few notes. 
  • Dylan, your curiosity and perseverance are amazing. Those two skills will take you very far. If you have curiosity, you'll get excited about it, and if you have perseverance, you'll see it through. 
  • You could spend more time on scoping / planning. This is especially important when using an AI to help you build, because the context you give it helps it immensely. When we build things, we usually have a vague idea of what we want in our head. The better we can vocalize and describe that, the better the AI (or colleagues) can help us realize it. 
  • I love your intuition around tinkering. It's a slower way to build now, but will pay dividends later. If you tinker the way you did yesterday, you'll learn the principles of programming quite naturally. 
  • You have a great analytical mind. You break down problems quickly, and are quick to identify what is causing you problems, even if it's not clear why it's causing you problems. I saw you use some reasoning by elimination yesterday. 
  • If I were you, I'd leverage the AI even more. It can explain code for you, summarize what you've done so far, and predict issues that you'll run into. Remember, the quality of the answers depends on the quality of your questions.