Skip to content

FyreByrd/battleship-ai-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

battleship-ai-js

A TypeScript port of the AI from a Battleship project I wrote in Python.

All three algorithms are heavily influenced by this article about Battleship strategy.

Documentation

Contains:

  • StupidAI: an AI that just guesses a random coordinate
  • BasicAI: an AI that uses a basic, 2-stage Hunt/Target algorithm
  • AdvancedAI: an AI that uses a Probability Density Function to aid a 2-stage Hunt/Target algorithm

About

3 AI's that can play battleship

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published