2D Shooter Game 

Prompt: Write a code in javascript with index.html for 2D shooter style game where you control movement with cursor keys left and right and fire with space bar.  Enemies are space invaders style going left right and then down one row all at once. Check for collision between player and enemies, as well as bullet and enemies, each bullet can kill one enemy only. Limit number of player lives to 3. Make special enemy at the very top row that goes twice the fast but if player kills it it gives one more life. If all enemies are killed start next level with enemies going faster.

Microsoft copilot

Copilot created best overall solution in least amount of tries and human interventions, and a very good one after the very first response. Here is the result. 

Qwen2.5Coder32B

Qwen Coder 2.5 32B was slow since it was too large for the GPU, but is quite accurate. It needed several iterations, including some self error corrections. Check it out.

Qwen2.5Coder7B

Qwen Coder 2.5 7B produced fast but not quite complete solution. It was on track with its bigger sibbling so we stopped here.

mistral240714B

Here is the French touch and actually quite good take on classic shooter game

Mistral Nemo2407 14B. 

mistral240714B

This is the human-nugged response (4th or 5th iteration) from the Mistral Nemo2407 14B, but on a different prompt with less instructions what to do.

LLAMA31-8B

This is the very first response from Meta LLama 3.1 8B model. 

LLAMA31-8B

Here is the result after human directed additional instructions and human changes