AI Capture the Flag

Find Gist Here

Java, Searching Algorithms, AI design.

Project for an Artificial Intelligence class. We were tasked with creating an “Agent” that would successfully capture and return an enemy flag to our base while simultaneously try to protect our own flag from capture. We were provided the Java environment our Agents would travel in.

The project utilized proprietary software from UTD, so I am unable to post said environment for you to try out the agent yourself, but here are some GIFs of the project in action.

Red team is mine, the Green team is the enemy.

Some example GIFs

JavaCTF2JavaCTF3

 

 

 

 

 

 

 

Red: Me, Green: Computer.

The computer uses a “Random” Agent class to determine its movements. The left arena is labeled as “traps”, the right as “simple”.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

Up ↑