navreeetkaur / 3dtictactoe Goto Github PK
View Code? Open in Web Editor NEWIntelligent 3D Tic-Tac-Toe player: Artificial Intelligence
Intelligent 3D Tic-Tac-Toe player: Artificial Intelligence
Course: COL333(Autumn'17): Artificial Intelligence Assignment 1: 3D Tic-Tac-Toe Creators: 2015TT10917, Navreet Kaur 2015CS10207, Aditya Sahdev - - - - - - - - 3D Tic-Tac-Toe game with AI - - - - - - - - Files: 1)main.java: Run this file to play the game. This class contains the main function and works as the main script, creating object for the magic_cube class and ttt class. The user is first asked if they want to play first and is then required to choose from the following options as the winning strategy: (a) one collinear line (b) two collinear lines (c) who so ever gets more lines than its opponent after the 20th move 2) ttt.java: This class governs all the actions computer takes to interact with the user and chooses the next move while utilising magic_cube as the 3D cube on which the game is played. 3)magic_cube.java: This class uses the concept of a magic cube to implement an algorithm to create a 3D Magic Cube of 11 surfaces. It also implements some collinearity conditions to generate the three essential lists based on sum and collinearity. 4)Tuple.java: The Tuple class is a way of storing a set of three integers as a tuple object, which is used in the magic_cube. Compilation Instructions: javac *.java java main
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.