Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ONE PROMPT AI DEV
#11
Well, that's better than Vista, by a little...

@bplus

This is a triangle.

Code: (Select All)
Screen _NewImage(800, 600, 32) 
a = 10: c = 20
For i = 0 To 9
    Line (a, c)-(a + i * 2, c)
    a = a - 1
    c = c + 1
Next

That took me 2-minutes to code, and I got it right on the first try. I haven't made geometric shapes in graphics, but I wanted a triangle an that AI crap inspired me!

Pete Big Grin
Reply
#12
Solid!

Yeah that AI was fun! Totally unexpected getting some good suggestions from it like a more complete Pete OS.
It went on to suggest a theme and I thought something Californian maybe famous landmark, it offered the Golden Gate bridge and some kind of California guitar music, cool! While trying select a nice Golden Gate bridge shot I lost my tabs and conversation with AI. 

Curious about the guitar music it had in mind... @Pete (why isn't this underlining forum editor?)
?  (Should I ask Pete about music?)

Update: Oh there it is (The underline), maybe the forum editor was giving me a hint about asking Pete about California guitar music Smile
No giving AI too much intelligence, maybe...

My guess is Pete would give sounds of keys being pressed, could that be made musical @Dav ?
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
#13
fine and smart demo.

As it often happens to me  I got  a bug...

[Image: Screenshot-20260103-221332.png]

There must be an issue somewhere in calculations. The ball is void (or if you prefer full of black color) and it bounches up and down with no other possible direction...

Kubuntu 24.04 LTS, QB64pe 4.3, Acer Aspire AMDe1 4GB RAM 500GB HDD
Reply
#14
Wow! @unseen That's really good for such little amount of code.

Thank you for sharing this, I'm going to study it. Well done.
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#15
(01-09-2026, 04:39 PM)grymmjack Wrote: Wow! @unseen That's really good for such little amount of code.

Thank you for sharing this, I'm going to study it. Well done.

lol whilst im always happy to take any feedback, I WROTE NONE of it...its all just google in ai mode and generated from a single prompt i provided...when i first started out coding and im sure its the same for a lot of us. Making games like pong and breakout are/were key stepping stones to us learning the fundamentals. Now that I know how to code a little bit I find AI, with proper direction, can make what would have taken me hours in a few seconds. I'm now moving toward architecture and design rather than spending countless hours writing code. 

Thanks though

John
Reply


Forum Jump:


Users browsing this thread: