summaryrefslogtreecommitdiff
path: root/src/knowledge.rs
AgeCommit message (Collapse)Author
2017-07-22Added special case for a point that can be known to be a hit while seekingJustin Worthe
Shooting here first will eliminate a ship immediately that might otherwise be dumbly left until the end of the game, where a spot that can only be one ship shows up on the overall probability density graph. It also does meaningful shots while recharging specials shots to speed up the random part of searching.
2017-07-15Updated shot ordering to choose cheeper one if scores are equalJustin Worthe
2017-07-15Avoided counting hit cells as eliminating unknownsJustin Worthe
2017-07-15Adding shooting of new weaponsJustin Worthe
2017-07-12Fixed bugs in knowledge updateJustin Worthe
2017-06-24Implemented knowledge updates based on all weapon typesJustin Worthe
2017-06-24Knowledge update that can handle different weaponsJustin Worthe
2017-06-22Added turns to weapon being available to knowledgeJustin Worthe
2017-06-18Added knowledge of weaponsJustin Worthe
Next step: knowledge of weapon's effects.
2017-05-20Implemented lattice restricted battleship searchingJustin Worthe
2017-05-20Finished up efficient elimination of found shipsJustin Worthe
2017-05-20Eliminated more possibilities when ships are sunkJustin Worthe
2017-05-20Moved ship placement knowledge out to be one per shipJustin Worthe
2017-05-14Added model for knowledge of the game's stateJustin Worthe
Will be useful to track deductions that have already been made.