1212
GitHub - Papaglory/AI-Warship: An autonomous battleship driven by utility AI, enabling intelligent decisions through mathematical functions and scoring systems. This allows for autonomy in tasks like patrolling and searching for enemy vessels. Note: This project is currently incomplete. · GitHub
Skip to content

Papaglory/AI-Warship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Status

Note: This project is currently unfinished and may never be completed. It is being shared publicly for educational and reference purposes. With this in mind, please feel free to explore the available codebase and the most up-to-date Unity build.

Description

This project features a battleship that autonomously navigates the map in search of enemy vessels. When an enemy vessel is encountered, the battleship engages in combat and collects the remains of the ship.

The decision-making process of the battleship is driven by utility AI, a system that uses mathematical functions and scoring systems to evaluate and prioritize actions based on their utility. This approach allows the battleship to make intelligent decisions in various scenarios, including combat and resource management.

Preview

Alt Text

The battleship fires using physics-based calculations to determine the correct firing angle to hit its targets.

Alt Text

Displayed is the search area of the battleship, highlighted as a green sphere. While patrolling, a small vessel enters this area and the battleship decides to engage it.

Alt Text

When the battleship's fuel gets low, the utility functions determine that it should seek a refueling station.

Caution

Please note that the code in this project is poorly written and lacks sufficient comments. It has not been rewritten or refactored to adhere to standard coding practices. Therefore, we recommend using the concepts and ideas presented rather than relying on the code itself.

Dependencies

Uses the Unity Engine (version 2022.3.29f1) along with the following assets (for more information, please refer to the acknowledgements file):

  • Foam Textures by A Dog's Life Software.
  • le dancing- music loop by frankum.
  • Fire Sound from Freesound.org (the audioclip seems to no longer be available).

Further Information

For a more in-depth look at this project, please refer to mariusnaasen.com/projects/ai-warship.

Author

Marius H. Naasen, originally created and last updated August 2018.

About

An autonomous battleship driven by utility AI, enabling intelligent decisions through mathematical functions and scoring systems. This allows for autonomy in tasks like patrolling and searching for enemy vessels. Note: This project is currently incomplete.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors