Coder Social home page Coder Social logo

jmwood22 / artificial-intelligence Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 0 B

My submission for a project in an Artificial Intelligence course. The idea was to create an AI that could play the Numbrix game as fast as possible. Numbrix is a game where you are given an n x n game board with some numbers already filled in on it. The AI must fill in the rest of the numbers on the board so that a path from 1 to n x n is created. An explanation of my solution can be found in FinalReport.pdf

Java 100.00%

artificial-intelligence's Introduction

Welcome to the Numbrix Read Me. An explanation of the solution can 
be found in FinalReport.pdf 

In order to play the game, you must run the file Numbrix.java.

You will then be prompted to input the name of the file containing
the initial game data. I have included two of these files called
InitGameData1 and InitGameData2 if you do not have one yourself.
However, if you want to use your own file it must be organized in
the following manner:

The first number should be the width or height of the desired grid.
The following lines will be the "setup moves" meaning they should 
consist of three numbers (row, column, value) with only spaces
between them.

After the file is read, the on-screen directions should guide you.
The addition boards are files Board1-7, and the tournament boards 
Tourn1-17. When the game is ready to play, press 5 to allow the AI 
to play and when it is done, the solution and the time in 
milliseconds will be displayed but to show the move history, press 3.
In order to read a new file with stopping and restarting the 
program, press 6 and make a new file selection.Remember to press 
enter after making a selection and try not to find any bugs!!!

Thanks,
Jeffrey Wood

artificial-intelligence's People

Contributors

jmwood22 avatar

Watchers

James Cloos avatar  avatar

Forkers

kevingalacha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.