This document describes the development of a Tic Tac Toe Android application using the minimax algorithm. It provides background on Android, artificial intelligence, and the minimax algorithm. The goals are to learn object-oriented programming, Android development, and implement the minimax algorithm to make the computer player more intelligent in Tic Tac Toe. The application will allow single-player against the computer and multi-player between two devices.
Tic Tac Toe unite is an android application game based on Artificial Intelligence .Download the game on google play store at https://play.google.com/store/apps/details?id=com.thesarthakapp.tictactoeunite
Tic Tac Toe unite is an android application game based on Artificial Intelligence .Download the game on google play store at https://play.google.com/store/apps/details?id=com.thesarthakapp.tictactoeunite
Artificial Intelligence: Introduction, Typical Applications. State Space Search: Depth Bounded
DFS, Depth First Iterative Deepening. Heuristic Search: Heuristic Functions, Best First Search,
Hill Climbing, Variable Neighborhood Descent, Beam Search, Tabu Search. Optimal Search: A
*
algorithm, Iterative Deepening A*
, Recursive Best First Search, Pruning the CLOSED and OPEN
Lists
Minmax Algorithm In Artificial Intelligence slidesSamiaAziz4
Mini-max algorithm is a recursive or backtracking algorithm that is used in decision-making and game theory. Mini-Max algorithm uses recursion to search through the game-tree.
Min-Max algorithm is mostly used for game playing in AI. Such as Chess, Checkers, tic-tac-toe, go, and various tow-players game. This Algorithm computes the minimax decision for the current state.
Artificial intelligence AI is the intelligence exhibited by an artificial entity, generally assumed to be a computer. It has been involved with gaming since day one. It is progressively being widely used in the gaming industry. AI in games is commonly used for creating players opponents. It is the foundation of all video games. Games like Nim, checkers, or chess took advantage of smart algorithms to beat human players. AI based games are based on a finite set of actions or reactions whose sequence can be easily predicted by expert players. This paper provides an introduction on the applications of AI in different games. Matthew N. O. Sadiku | Sarhan M. Musa | Abayomi Ajayi-Majebi "Artificial Intelligence in Gaming" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-5 | Issue-2 , February 2021, URL: https://www.ijtsrd.com/papers/ijtsrd38516.pdf Paper Url: https://www.ijtsrd.com/engineering/electrical-engineering/38516/artificial-intelligence-in-gaming/matthew-n-o-sadiku
Artificial Intelligence: Introduction, Typical Applications. State Space Search: Depth Bounded
DFS, Depth First Iterative Deepening. Heuristic Search: Heuristic Functions, Best First Search,
Hill Climbing, Variable Neighborhood Descent, Beam Search, Tabu Search. Optimal Search: A
*
algorithm, Iterative Deepening A*
, Recursive Best First Search, Pruning the CLOSED and OPEN
Lists
Minmax Algorithm In Artificial Intelligence slidesSamiaAziz4
Mini-max algorithm is a recursive or backtracking algorithm that is used in decision-making and game theory. Mini-Max algorithm uses recursion to search through the game-tree.
Min-Max algorithm is mostly used for game playing in AI. Such as Chess, Checkers, tic-tac-toe, go, and various tow-players game. This Algorithm computes the minimax decision for the current state.
Artificial intelligence AI is the intelligence exhibited by an artificial entity, generally assumed to be a computer. It has been involved with gaming since day one. It is progressively being widely used in the gaming industry. AI in games is commonly used for creating players opponents. It is the foundation of all video games. Games like Nim, checkers, or chess took advantage of smart algorithms to beat human players. AI based games are based on a finite set of actions or reactions whose sequence can be easily predicted by expert players. This paper provides an introduction on the applications of AI in different games. Matthew N. O. Sadiku | Sarhan M. Musa | Abayomi Ajayi-Majebi "Artificial Intelligence in Gaming" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-5 | Issue-2 , February 2021, URL: https://www.ijtsrd.com/papers/ijtsrd38516.pdf Paper Url: https://www.ijtsrd.com/engineering/electrical-engineering/38516/artificial-intelligence-in-gaming/matthew-n-o-sadiku
In this article, we will discuss Excite Artificial Intelligence Class 9. You will get more details and fun with 3 games uses Artificial Intelligence. So here we go!
Artificial intelligence (AI) all in one presentation consists of almost all concepts of Artificial intelligence. i.e.
Artificial intelligence, Robotics, ANN, NLP, NLU, History of AI, History, Pakistan, basharat jehan, agriculture university peshawar, Forward and Backward Chaining, Grammers in AI, Morphology, Examples of Expert system, Laws of Robotics,Expert system languages, Syntactic Analysis in NLP, Lecture Notes
Given above is a PowerPoint Presentation on Artificial Intelligence (AI). Ideal for activities, school projects, essays etc. Hope it is accommodating.
Thank you.
You can also find out my other presentations on Technology.
The links are given below-
https://www.slideshare.net/GursheenKaurChawla/all-about-the-internetpptx and https://www.slideshare.net/GursheenKaurChawla/impact-of-online-gamespptx
THIS IS AN INTRODUCTORY PPT OF EMERGING TECHNOLOGIES AND NEED IN REAL LIFE. THIS WIL EXPLAIN BSICS ABOUT ALL EMERGING TECHNOLOGY AND THEIR APPLICATION IN VARIOUS SECTOR
Artificial intelligence in practice- part-1GMR Group
Summary is made in 5 parts-
This is Part -1
Cyber-solutions to real-world business problems Artificial Intelligence in Practice is a fascinating look into how companies use AI and machine learning to solve problems. Presenting 50 case studies of actual situations, this book demonstrates practical applications to issues faced by businesses around the globe.
• The rapidly evolving field of artificial intelligence has expanded beyond research labs and computer science departments and made its way into the mainstream business environment.
• Artificial intelligence and machine learning are cited as the most important modern business trends to drive success.
• It is used in areas ranging from banking and finance to social media and marketing.
• This technology continues to provide innovative solutions to businesses of all sizes, sectors and industries.
• This engaging and topical book explores a wide range of cases illustrating how businesses use AI to boost performance, drive efficiency, analyse market preferences and many others.
• This detailed examination provides an overview of each company, describes the specific problem and explains how AI facilitates resolution.
• Each case study provides a comprehensive overview, including some technical details as well as key learning summaries:
o Understand how specific business problems are addressed by innovative machine learning methods Explore how current artificial intelligence applications improve performance and increase efficiency in various situations
o Expand your knowledge of recent AI advancements in technology
o Gain insight on the future of AI and its increasing role in business and industry
o Artificial Intelligence in Practice: How 50 Successful Companies Used Artificial Intelligence to Solve Problems is an insightful and informative exploration of the trans-formative power of technology in 21st century commerce
This Presentation will give you an overview about Artificial Intelligence : definition, advantages , disadvantages , benefits , applications .
We hope it to be useful .
Similar to Tic Tac Toe using Mini Max Algorithm (20)
About
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Technical Specifications
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
Key Features
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface
• Compatible with MAFI CCR system
• Copatiable with IDM8000 CCR
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
Application
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Hierarchical Digital Twin of a Naval Power SystemKerry Sado
A hierarchical digital twin of a Naval DC power system has been developed and experimentally verified. Similar to other state-of-the-art digital twins, this technology creates a digital replica of the physical system executed in real-time or faster, which can modify hardware controls. However, its advantage stems from distributing computational efforts by utilizing a hierarchical structure composed of lower-level digital twin blocks and a higher-level system digital twin. Each digital twin block is associated with a physical subsystem of the hardware and communicates with a singular system digital twin, which creates a system-level response. By extracting information from each level of the hierarchy, power system controls of the hardware were reconfigured autonomously. This hierarchical digital twin development offers several advantages over other digital twins, particularly in the field of naval power systems. The hierarchical structure allows for greater computational efficiency and scalability while the ability to autonomously reconfigure hardware controls offers increased flexibility and responsiveness. The hierarchical decomposition and models utilized were well aligned with the physical twin, as indicated by the maximum deviations between the developed digital twin hierarchy and the hardware.
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Dr.Costas Sachpazis
Terzaghi's soil bearing capacity theory, developed by Karl Terzaghi, is a fundamental principle in geotechnical engineering used to determine the bearing capacity of shallow foundations. This theory provides a method to calculate the ultimate bearing capacity of soil, which is the maximum load per unit area that the soil can support without undergoing shear failure. The Calculation HTML Code included.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
This presentation is about the working procedure of Shahjalal Fertilizer Company Limited (SFCL). A Govt. owned Company of Bangladesh Chemical Industries Corporation under Ministry of Industries.
Final project report on grocery store management system..pdfKamal Acharya
In today’s fast-changing business environment, it’s extremely important to be able to respond to client needs in the most effective and timely manner. If your customers wish to see your business online and have instant access to your products or services.
Online Grocery Store is an e-commerce website, which retails various grocery products. This project allows viewing various products available enables registered users to purchase desired products instantly using Paytm, UPI payment processor (Instant Pay) and also can place order by using Cash on Delivery (Pay Later) option. This project provides an easy access to Administrators and Managers to view orders placed using Pay Later and Instant Pay options.
In order to develop an e-commerce website, a number of Technologies must be studied and understood. These include multi-tiered architecture, server and client-side scripting techniques, implementation technologies, programming language (such as PHP, HTML, CSS, JavaScript) and MySQL relational databases. This is a project with the objective to develop a basic website where a consumer is provided with a shopping cart website and also to know about the technologies used to develop such a website.
This document will discuss each of the underlying technologies to create and implement an e- commerce website.
Explore the innovative world of trenchless pipe repair with our comprehensive guide, "The Benefits and Techniques of Trenchless Pipe Repair." This document delves into the modern methods of repairing underground pipes without the need for extensive excavation, highlighting the numerous advantages and the latest techniques used in the industry.
Learn about the cost savings, reduced environmental impact, and minimal disruption associated with trenchless technology. Discover detailed explanations of popular techniques such as pipe bursting, cured-in-place pipe (CIPP) lining, and directional drilling. Understand how these methods can be applied to various types of infrastructure, from residential plumbing to large-scale municipal systems.
Ideal for homeowners, contractors, engineers, and anyone interested in modern plumbing solutions, this guide provides valuable insights into why trenchless pipe repair is becoming the preferred choice for pipe rehabilitation. Stay informed about the latest advancements and best practices in the field.
2. What is Android?
Android is a mobile operating system developed by Google.
The Android operating system (OS) is based on the Linux kernel.
Android is open source, meaning developers can modify and customize the OS
for each phone.
Developers can create programs for Android using the free Android software
developer kit (SDK).
History of Android
3. Introduction of AI?
AI is a human made system that is capable of performing works concisely like human.
Basically, AI is an intelligent code or algorithm.
Forms: ML, NLP, Speech Recognization, Computer Vision, Robotics, Expert system etc.
The theory and development of computer systems able to perform tasks normally
requiring human intelligence, such as visual perception, speech recognition, decision-
making, and translation between languages.
The goals of AI research include reasoning, learning natural language processing and
ability to move and manipulate object.
There are a large number of tools used in AI, including versions of search and
mathematical optimization ,logic ,method based on probability and economics and many
others.
4. History of AI
The intellectual roots of AI and concepts of intelligent machines may be found in
Greek mythology.
But, the modern age of AI is said to be begun from 1956 when John McCarthy
coined the term “Artificial Intelligence” as the topic of Dartmouth Conference.
In mid 80’s, NN became widely used with backpropagation algorithm.
In 1990’s, data mining, machine vision, NLP, virtual reality et cetera were born.
Autonomous robotics system, SoJourner, developed in the surface of mars by
NASA in 1997.
Recently in 2015, AlphaGo(Monte Carlo Tree Search Algorithm) became first
computer program to beat a professional Go player.
5. Fields in which AI is used
AI can be seen everywhere nowadays. From a mobile phone in your hand to super
computers used by high tech companies.
Medical diagnosis
Speech recognition
Stock trading
Robot control law
Remote sensing
Scientific discovery
Games like tic tac toe and chess
-
6. Tic Tac Toe Board
It is two players, X and O, game who take turns marking the spaces in a 3*3 grid.
The player who succeeds in placing three respective marks in a horizontal, vertical,
or diagonal wins the game.
There are 9 position in board. 1 2 3
4 5 6
7 8 9
7. Purpose
Tic Tac Toe is a great way to pass your free time. The friendliness of Tic Tac Toe
makes it ideal as a pedagogical tool for teaching and learning the concepts of good
sportsmanship and the branch of artificial intelligence that deals with the searching
of game trees.
The main purpose of developing a Tic Tac Toe application is to computerize the
traditional way of playing Tic Tac Toe and give it a modern technological touch.
Another purpose for developing this app is to make this traditional game famous
among today’s exclusively tech loving kids.
8. Aims and Objective
Following are the objectives of this project:
To be familiar with Object Oriented Programming(OOP).
To learn about android device and android app development.
To learn process of project development.
To implement AI based MINIMAX ALGORITHM in digital device.
To eliminate the use of paper for playing TIC-TAC-TOE.
The aim of this project is to develop a Tic-Tac-Toe game for mobile device. The
game is supposed to consist of two parts, one a single player game (a player against
a system), and the other a multi-player game (two players on their mobile devices,
playing against each other).
9. Minimax Algorithm in Game Theory
Minimax is a kind of backtracking algorithm that is used in decision making and
game theory to find the optimal move for a player, assuming that your opponent
also plays optimally. It is widely used in two player turn based games such as
Tic-Tac-Toe, Chess, etc.
Minimax is based on the assumption that your opponent will make the move that
will maximize his/her potential score, thus minimizing your potential score and
you want to do same to your opponent.
In case of Minimax algorithm first we assign worst case that is MAX=-
INFINITY and MIN=+INFINITY. After that new value is assigned to MAX or
MIN by comparison.
Minimax search is also Depth First Search.
10. Algorithm for our project
In case of AI move we use MINIMAX ALGORITHM
A pseudocode for minimax is described below:
Minimax(node n, depth d, player p)
1. If depth=0 then
return value (node)
2. If player = “MAX” // for a maximizing player
set a= - INFINITY
for every child of node
value = minimax(child , depth +1 , “MIN”)
a = max(a , value)
return (a)
else // for minimizing player
set a = + INFINITY
for every child of node
value = minimax (child , depth+1 , “MAX”)
a= min(a , value)
return (a)
11. Making our AI more smart
In case of first move for AI we use
Random ran=new Random()
int n=ran.nextInt(9)
For AI move ,we have to select that move
which lead us for fast victory and slow defeat.