<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://pengfeicui99.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://pengfeicui99.github.io/" rel="alternate" type="text/html" /><updated>2026-02-06T07:44:17+00:00</updated><id>https://pengfeicui99.github.io/feed.xml</id><title type="html">Pengfei Cui | Intelligent Transportation </title><subtitle>Academic homepage of Pengfei Cui, focusing on Transportation Engineering, Connected Vehicle Data-driven Traffic Analysis, and Intelligent Transportation System.</subtitle><author><name>Pengfei Cui</name><email>pengfeicui@bjut.edu.cn</email></author><entry><title type="html">ZFighting: An Interesting Experience of AI-Human Coding FPS Game</title><link href="https://pengfeicui99.github.io/posts/human-ai-collaboration/" rel="alternate" type="text/html" title="ZFighting: An Interesting Experience of AI-Human Coding FPS Game" /><published>2025-11-05T00:00:00+00:00</published><updated>2025-11-05T00:00:00+00:00</updated><id>https://pengfeicui99.github.io/posts/human-ai-collaboration</id><content type="html" xml:base="https://pengfeicui99.github.io/posts/human-ai-collaboration/"><![CDATA[<p><img src="/images/posts/ZFighting.gif" alt="ZFighting Gameplay" /></p>

<p>Recently, Gemini 3 was just released with remarkable coding capabilities. Intrigued by this, I decided to try it out in Google AI Studio to create my own game. Initially, I simply provided a basic instruction and envisioned a first-person shooter (FPS) game where players fight against zombies. To my surprise, it generated an impressive demo with professional-quality game mechanics. This inspired me to expand and refine the game, which I named “ZFighting”.</p>

<p><img src="/images/ZFighting_1.png" alt="ZFighting Game Screenshot 1" /></p>

<p>However, at the final stage of development, the Google AI platform crashed completely and stopped working. So I downloaded the codes and transferred it to Cursor to continue development locally. Despite knowing nothing about the programming language, I successfully completed the game! Overall, ZFighting is an FPS game where players battle zombies and progress through levels. The game features:</p>
<ul>
  <li>Different types of zombies, each with unique damage abilities</li>
  <li>Various heroes, each with distinct ultimate abilities and weapon options</li>
  <li>A coin collection system that allows players to upgrade weapons and character functions</li>
</ul>

<div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 1em; margin: 1em 0;">
  <div>
    <img src="/images/ZFighting_2.png" alt="ZFighting Game Screenshot 2" style="width: 100%; height: auto; border-radius: 4px;" />
  </div>
  <div>
    <img src="/images/ZFighting_3.png" alt="ZFighting Game Screenshot 3" style="width: 100%; height: auto; border-radius: 4px;" />
  </div>
  <div>
    <img src="/images/ZFighting_4.png" alt="ZFighting Game Screenshot 4" style="width: 100%; height: auto; border-radius: 4px;" />
  </div>
  <div>
    <img src="/images/ZFighting_5.png" alt="ZFighting Game Screenshot 5" style="width: 100%; height: auto; border-radius: 4px;" />
  </div>
</div>

<p>I packaged it as an executable file and shared it with my South Korean friends. They really enjoyed it and played it for fun. They also provided valuable feedback, which I incorporated to revise and improve various game functions. This has been a truly enjoyable experience during my Ph.D. journey. If you’d like to try it out, you can download the game <a href="https://drive.google.com/file/d/16S63JOk-FvTXLhXcO8Ap2qVrSS95Qx4Q/view?usp=sharing">here</a> (<em>the file is ZFighting_V2.0.rar on my Google Drive</em>). I hope you enjoy playing it!</p>]]></content><author><name>Pengfei Cui</name><email>pengfeicui@bjut.edu.cn</email></author><category term="Posts" /><category term="AI" /><category term="Game Development" /><category term="Gemini AI" /><category term="Cursor" /><summary type="html"><![CDATA[This post shares my experience of developing a FPS game using Gemini AI Studio and Cursor, showcasing the collaborative potential between AI and human in game creation.]]></summary></entry></feed>