Kody Wildfeuer's blog

kodyw.com

Month: June 2024

FeedShyWorm 2.0: A Testament to AI-Powered Game Evolution

Remember a few months back when I shared the story of “FeedShyWorm,” our little game that showcased the power of human-AI collaboration?

Link here: “FeedShyWorm”: A Human-AI Collaboration Case Study – kodyw.com

Well, buckle up, because we’re about to take a wild ride through the rapid evolution of not just a game, but the very landscape of AI-assisted development.

Worm game v1 ^

Now we improved it to this version:

Worm game 2.0 ^

https://codepen.io/wildfeuer/full/oNRrQXE

Based on this twitter post I wanted to try out how good the new Claude Sonnet 3.5 model and how it could improve my very basic game that I created last time with AI.

The Quantum Leap: From Python to Web

It’s been just a few months since our initial creation, but FeedShyWorm has undergone a transformation that would have seemed like science fiction not long ago. The most significant change? We’ve ported the entire game from Python to a web application using HTML, CSS, and JavaScript. This isn’t just a technical upgrade – it’s a leap into accessibility, allowing anyone with a web browser to join in on the fun.

Key improvements include:

  1. Responsive Design: Play on your desktop or your phone – the game adapts to you.
  2. Enhanced Visuals: A sleek, modern interface that’s easy on the eyes.
  3. Dual Control System: Use arrow keys or mouse movements – your game, your choice.

But here’s where it gets really interesting. These changes weren’t just dreamed up by yours truly. They were the result of a dynamic collaboration with Claude 3.5 Sonnet, our AI partner in crime. The time from beginning to pasting the original code, improving it, and then writing this full blog post took me about an hour and a half.

AI: From Assistant to Co-Creator In our initial collaboration, AI served as a coding assistant and idea generator. Now, with Claude 3.5 Sonnet, it’s become more of a co-creator. It didn’t just help with the coding; it suggested game mechanics that I hadn’t even considered.

For instance:

  1. Center Reset for Food: A simple change that adds a new layer of strategy.
  2. Refined Collision Detection: Making the game more challenging as the worm grows.
  3. New Game Over Conditions: Three consecutive self-collisions when the worm is longer than 5? Game over, buddy.

These aren’t just tweaks; they’re fundamental changes to the gameplay that make FeedShyWorm 2.0 a wholly new experience.

The Human Touch in a Sea of Algorithms Now, you might be wondering: with AI this advanced, where does the human fit in? Let me tell you, we’re more important than ever. While Claude 3.5 Sonnet can generate complex algorithms and suggest innovative features, it’s still up to us humans to decide what makes the game fun, engaging, and meaningful.

I found myself in a new role – less of a coder and more of a curator. My job was to sift through the AI’s suggestions, picking out the gems that would enhance the player’s experience without overwhelming them. It’s a delicate balance, and one that I believe only a human can truly judge.

Lessons from the Digital Time Capsule This project taught me several valuable lessons:

  1. Old code isn’t just a relic; it’s a learning opportunity. Revisiting FeedShyWorm with fresh eyes (and AI assistance) was incredibly educational.
  2. AI isn’t here to replace creativity; it’s here to amplify it. Claude 3.5 Sonnet didn’t do the work for me – it empowered me to do better work.
  3. The pace of technological advancement is staggering. Features that would have been cutting-edge when we first created FeedShyWorm are now considered basic expectations.

The Bigger Picture

As I sit here, looking at the before-and-after versions of FeedShyWorm, I can’t help but ponder the implications for the broader world of software development. How many brilliant ideas are lying dormant in repositories and hard drives around the world, just waiting for a bit of AI-powered polish to shine?

This experience has inspired me to start a new project: “Code Revival.” The idea is to create a platform where developers can submit their old, abandoned projects for AI-assisted renovation. Imagine the innovations we could unearth, the lessons we could learn, and the progress we could make by giving new life to old code.

Conclusion: The Future is Built on the Past

In the fast-paced world of tech, we’re often focused on the next big thing, always looking forward. But this journey has reminded me of the value of looking back. Our old code, our past projects – they’re not just relics. They’re the foundation upon which we build the future.

FeedShyWorm 2.0 is more than just an updated game – it’s a testament to the rapid progress we can make when leveraging AI in creative projects. It’s a small but significant step in understanding how we can harness AI to augment human creativity and technical skills in game development and beyond.

So, I encourage you all: dust off those old projects. Feed them to an AI. See what emerges. You might just find that your past self-had some pretty great ideas – ideas that, with a little help from our AI friends, could change the future.

Until next time, keep coding, keep playing, and keep pushing the boundaries of what’s possible. The future is here, it’s learning fast, and it’s waiting for you to join the game.

Solving Business Problems, Not Software Sudoku: Why I’m Pumped About Dynamics 365’s New Table Visual Designer

Hey there, tech enthusiasts and business problem solvers! I’m about to take you on a journey that’s got me excited for the future of Dynamics 365 and the Power Platform.

The Old Ways: A Trip Down Memory Lane

Let’s rewind a bit. Remember the “good old days” of building business applications? If you’ve been in the game as long as I have, you’ll recall the pain points:

  1. SQL Server Management Studio (SSMS) Gymnastics: Hours spent crafting CREATE TABLE statements, where one typo meant starting over.
  2. Dynamics 365 Configuration Marathon: Navigating endless menus to create tables one at a time, setting up relationships like a game of database Jenga.
  3. The Integration Nightmare: Wrestling with SDKs and custom plugins to integrate external data.
  4. Documentation Headaches: Creating separate ERD diagrams in Visio after all that work.

The New Frontier: ERD View and Copilot

Now, Microsoft has dropped a game-changer that’s about to make a lot of people very comfortable with something that used to be pretty daunting. And that’s a good thing!

  1. Visual Data Modeling: It’s like going from assembly code to a high-level programming language. You can see your entire data model at a glance, relationships and all.
  2. AI-Powered Schema Generation: Copilot is like having a senior database architect at your beck and call. Describe your model in plain English, and it generates the schema for you.
  3. Intelligent Data Import: Copilot analyzes your Excel or SharePoint data and suggests appropriate structures and relationships.
  4. Dynamic Relationship Management: Creating relationships between tables is now as simple as dragging a line. No more SQL JOIN statements!

Why This is a Big Deal

  1. Visual Learning FTW: Not everyone thinks in code. This ERD view lets you see your data model like a map. It’s like going from written directions to Google Maps.
  2. Copilot: Your AI Sidekick: Need sample data? Bam! Want to create a new column? Boom! It’s like coding with autocomplete on steroids.
  3. From Excel to ERD in Seconds: Turn that monster Excel sheet into a proper database with drag-and-drop simplicity.
  4. Rapid Prototyping: What used to take weeks can now be done in hours. Iterate quickly without the overhead of traditional database design.
  5. Lowered Technical Barrier: A sales manager who understands the business process can now contribute directly to the data model design without needing to learn T-SQL.

Democratizing Software Development

Here’s why I’m really excited: it’s lowering the barrier to entry for creating powerful business apps. You don’t need to be a coding wizard to create a multi-table data model anymore. Got an idea? Describe it in plain English, and let Copilot do the heavy lifting.

This is huge for small businesses, startups, and anyone with a great idea but limited tech skills. It’s like we’re democratizing software development, and I am here for it!

The Future of Problem Solving

Imagine a world where anyone in your organization can turn their industry expertise into a working app. Your sales team could create a custom CRM tailored exactly to your business. Your HR folks could whip up an employee management system that fits like a glove.

Real-World Impact

Let me paint you a picture. In the past, if a client came to me wanting a custom solution in Dynamics 365, we’d be looking at weeks of requirements gathering, database design, and implementation. Now? We can sit down together, describe the system, and have a working data model in a single session. It’s not just faster – it’s a completely different way of working.

Embracing the Change

This new ERD view isn’t just an incremental improvement – it’s a quantum leap in how we approach data modeling in the Microsoft ecosystem. It’s democratizing a skill that used to require years of experience and technical knowledge.

Conclusion

This ERD view in Power Apps is more than just a cool feature. It’s a glimpse into a future where technology adapts to how we think, not the other way around. It’s about making powerful tools accessible to everyone, regardless of their coding skills.

So, my challenge to you? Go try it out. Play with it. See what you can create. Push its limits. See how it can transform your development process. Who knows? The next big app that revolutionizes your industry might be just a few drag-and-drops away.

Go forth and visually model that data! Your future self (and your clients) will thank you.

Announcement link: Work with complex data models in an ERD view assisted by Copilot – Microsoft Power Platform Blog

Powered by WordPress & Theme by Anders Norén