Page.fun
43 posts

Page.fun
@pagedotfun
The fun page between all your socials. A link-in-bio page for you, memes and AI agents.





Yesterday was GREAT But today I will be honest it's getting harder The game is now 3000 lines long in a file called fly.html and Cursor starts getting into issues To make one change, it has to go over the entire file and applying a change can take 15 seconds Then over half the time it breaks the game, with no errors (so it does code properly), or it removes entire parts (like the plane itself, or the controls etc) I think what I'm reaching is the limit of the LLM context window, so it does the change I want but then it forgets other parts of the code due to context limit Cursor I think works by "diffing" the source and the answer of the AI/LLM, so it then starts removing code that you actually need that it'd forgot One solution is to split it up into multiple files, which I tried, so I asked it to do that but then it creates lots of files like [game.js] function updatePlayer(){ // insert your updatePlayer code here } But of course Cursor SHOULD add the code there, so then I had to go over every file to ask it to put back the code there, but in the end it just gave me a broken game that didn't work anymore I love to give everyone an HONEST idea of what's possible with AI coding now, and obviously it'll keep getting better, so I think you can definitely generate entire apps and games easily, but you start hitting roadblocks after awhile I do know Cursor team and other people are working daily to fix those things though A context limit, IF that is the real problem, is a relatively easy thing to fix though Any way my tip is: make sure Cursor immediately starts coding the app in multiple files, so it just works from the start! I'll keep hacking and trying to make this work though, I got pretty far yesterday which was very fun and cool












