Hey folks :)
Recently I got excited by the idea to revive one of my projects with AI and the result was honestly quite fast and successful so I decided to share my experience here with you in case it can help anyone as well 🙌
Some context
So recently I got the idea to "revive" one of my old projects, this project had complex architecture (client/server) and written in Python/C# with no AI in 2023, to revive it was pretty painful due to outdated Python/Unity versions and I was kind of like... hmm, why not to try to use the modern AI tools to rebuild this game to make it much simpler to run at anytime (like a standalone browser game)? and it worked 👀
Cost and usage limits
Claude subscription costs 20 dollars minimum for an individual, it gives access to the Opus 4.7 but with significant limitations, basically 2 big queries to this model will hit your limit for 5 the next hours, and if you do it 5-6 times you will hit the weekly limit. It's definitely a significant constraint but fortunately during one such query the Opus 4.7 model can define the whole architecture, fix 5+ bugs, add 5+ features, so it was worth it at least for me.
Prompt Engineering
The prompts were done in the following way for my project:
"""
You're a professional game developer specialized in browser games and technologies like HTML, CSS and JavaScript. Please read through the game docs, architecture and implement the following features/bug fixes:
<request goes here>
Please make sure your solution aligns with the current architecture, improves and introduces more best practices if relevant as well as documentation
"""
Claude could work on the request for 10-15 minutes but the end result was always a ready-to-use solution with surprisingly no bugs
Repository / PRs
You can check the repository used to build the project with AI at the following link: https://github.com/Silver3310/push-them-out-2
Here you check out example PRs: https://github.com/Silver3310/push-them-out-2/pull/6, https://github.com/Silver3310/push-them-out-2/pull/8, https://github.com/Silver3310/push-them-out-2/pull/11.
Hope this info can help someone with their project development/improvement/migration! :)