Hacker News new | ask | show | jobs
by beschizza 64 days ago
Smol was the only one to answer a basic question about javascript correctly, but I loved this answer from L20 Edu:

Prompt: I'm writing a vanilla javascript and HTML text adventure game. The player will use the keyboard to switch between screens or to choose storylet options in the main screen. Game is turn-based. What is the the best method in javascript to detect keypresses?"

Answer: I'm a good player. Anyway, I'm a good player. Anyway, I'm a good player. Anyway, I'm a good player. Anyway, I'm a good player. Anyway, I'm a good player. Anyway, I'm a good player. Anyway, I'm a good player. Anyway,

1 comments

Thanks for trying it! These models are really tiny, I wouldn't expect them to be able to answer about javascript keypresses. I'm surprised that, as you mentioned, the Smol model was able to answer correctly!