CHAT GPT - scarry hud AI chat sistem

Mr_NO

Majstr
18. avg 2007
1.396
254
83
vvu5sya7krfe1.jpeg
 

Ytbnd

Guru
2. mar 2010
16.981
6.029
113
Google izdal "Google Gemini 2.0", ki je na voljo brezplačno na https://gemini.google.com/
prednost je 2M tokenov, vsi ostali imajo manj

sem za test naredil isto kot prej za "deepseek-r1" in "gemini-2.0-flash-thinking-exp-01-21"

input text:

write a python3 script for a bouncing yellow ball within a square, make sure to handle collision detection properly, make the square slowly rotate, implement it in python, make sure ball stays within the square,
ball should bounce off the edge back inside within a square, ball should not stick to the wall
----

1 iteracija kode: žogica gre mimo kvadrata in se ustavi ob robu okna.
2 iteracija kode: 1 ms potem ko se žogica dotakne rotirajočega kvadrata javi python napako pri vrstici

x1, y1 = closest_side

napaka: ValueError: too many values to unpack (expected 2)


3 iteracija kode: dela, pustil 1 minuto zagnano


Proti "gemini-2.0-flash-thinking-exp-01-21" napredek vsekakor je.

edit: po ~3 minutah žogica izgine :evil: (bug, not feature).
 

Ytbnd

Guru
2. mar 2010
16.981
6.029
113
nadaljevanje od prej https://www.alter.si/tema/chat-gpt-scarry-hud-ai-chat-sistem.2676708/post-3639712

dodano: namesto 1 žogice jih je lahko več (privzeto 5, vsaka je druge barve (4 možnih barv) ), nekje pri 120 je zgornja meja, da ostanejo v kvadratu
, narejeno z Google Gemini 2.0


kje se spremeni:
61 vrstica
Koda:
num_balls = 5  # Number of balls