Freitag Software
The Joy of Writing Software
  • Home
    • Links
  • My Software
    • JavaScript Programs >
      • Dots
      • The Code Cracker
      • The Deserted Ship
      • Flying Text
    • Java Programs >
      • Dot Animation
      • Operation Rescue >
        • Mazes for Programmers
      • Battleship!
      • Blackjack
      • Draw Poker
      • State Pattern Demo
      • Falling Blocks
    • Android Programs >
      • The Oracle
      • RPSLS
      • Gemini Falcon: Asteroid Miner
      • Gemini Falcon: All Boxed In >
        • Gemini Falcon >
          • Privacy Policy
          • A Game Oddity
      • Ay Caramba
      • Dots vs Dots
      • Ants vs Ants
    • Twine Stories
  • Random Thoughts
  • Book Reviews
  • Teaching
    • Real-Life Stories
    • Flying Text
  • About
    • Contact

Artificial Intelligence

5/14/2016

 
​I've always been interested in artificial intelligence and emergent behaviors. So, instead of just reading about the subject, I've decided to start coding. My plan is to read, learn, and create a Android app demonstrating whatever I've been learning. No hurry. This could be a 20 year project. 

My app Rock, Paper, Scissors, Lizard, Spook has an AI that uses pattern recognition and basic probability. If the human player has a simple pattern, the AI will recognize it and play accordingly. 

My app The Oracle uses randomness to keep the user more entertained. Not really AI, but it shows how a little randomness in a very simple toy can be entertaining. 

I've written a Battleship game that uses more sophisticated AI with rule based AI and probability maps. If the computer hits a ship, it knows to continue shooting around that hit. If the computer is looking for a ship, it will calculate the location that will most likely contain a ship. The AI is good enough to beat a human playing the best they can if the chips fall in the right way - just as human vs. human players win. Now I just have to write an app for it! ​

Comments are closed.

    Author

    David Freitag - 
    Someone who enjoys programming and software development.

    Archives

    January 2018
    December 2016
    November 2016
    September 2016
    August 2016
    May 2016
    January 2016
    December 2015
    May 2015
    January 2015
    December 2014
    November 2014
    October 2014
    July 2014
    June 2014
    April 2014
    March 2014

    Categories

    All

    RSS Feed

This website documents my love of programming.  I hope it is useful and entertaining for you to read. 
An old programmer learning new tricks... 
(c) 2017 David A. Freitag, all rights reserved.