Giter VIP home page Giter VIP logo

sliderai's People

Contributors

doom4535 avatar ermsdev avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

sliderai's Issues

Need puzzle validation and routine loop

Commit 3dd09db added in a method that can solve a puzzle that requires one move to solve. We now need some equations (see: http://www.geeksforgeeks.org/check-instance-15-puzzle-solvable/) to determine if a puzzle is solvable so that more complicated arrangements can be entered and the program can be set to run in a loop.

TLDR:
1 iteration solver working
need puzzle validation equations (see: http://www.geeksforgeeks.org/check-instance-15-puzzle-solvable/)
need code set to loop till complete

Board scoring not working properly

cfb3930 holds a broken implementation of the board scoring algorithm, currently not sure why it isn't working, most likely related to the interpretation of the position? possibly .find() is returning something unexpected? or the .row/column isn't working correctly?

Score algorithm enhancement

Currently every time a child board is scored the Manhattan distance of each tile is computed; however, because we are only swapping one tile and the blank it is possible to limit this to just a score update. We could track the score of the parent and add or subtract the difference of the one swap to get the score of the child (this would scale exponentially, so for really large puzzles we could significantly reduce computation time).

Final Check List

Your project implementation MUST include the following:

  • Use the Department GIT Repository for version control and submission
  • Object-oriented programming with classes
  • Separate headers, implementation files and a main driver
  • File I/O. Include some form of file use even if only to capture results.
  • Well-commented, “clean”, and well-organized code.
  • Sections commented with the specific developer’s name
  • Well-tested code.
  • Readme file complete with known bugs and user operation instructions

You should employ the following concepts as appropriate to the program:

  • vectors
  • pointers
  • dynamic memory
  • string manipulation.

Quality of the code and the problem level of difficulty will be considered.

To make an A on this project, you must reach into advanced concepts and present quality code solution. Top projects designs show ingenuity, creativity, and efficiency. Demonstration that you have shown initiative, going above and beyond basic course coverage into utilization of advanced concepts. For instance, inheritance, polymorphism, recursion, graphics libraries, some other more advanced data structures of the STL Library (e.g. linked lists, stacks, queues, binary trees, etc.)

  • FINAL CHECK

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.