Inspiration

Retro-style arcade game coded in Python but with self-learning AI technology built from the ground up

What it does

A hostage rescue game where the user must carry all hostages from an AI-powered hunter in a randomly created biome with obstacles and water.

How we built it

We used ChatGPT and Gemini to create the basic game functionalities and design but then replaced the enemy with an AI built from scratch.

Challenges we ran into

Merging the AI enemy into our game, brainstorming a concise idea

Accomplishments that we're proud of

A fully-self learning AI enemy that improves over time by reacting to punishment/rewards

What we learned

How AI works and how to code a fully-fledged game with the help of pygame in Python

What's next for Hostage Hunt

Continue to train the AI overtime to increase the accuracy and the efficiency perhaps through some type of simulation (currently, the amount of episodes that it goes through is not nearly enough), and cleaning up the program by fixing some minor bugs

Additional note: In the main directory, it is highly recommended that you create a new API key and name it api_key.py. Inside of it, just write one line:

API_KEY = [api key here]

Built With

Share this project:

Updates