xico2001pt / ia-robot-mazes Goto Github PK
View Code? Open in Web Editor NEWProjeto da UC de Inteligência Artificial
Projeto da UC de Inteligência Artificial
Description:
Prioritize states in which the list of operators contains at least one of the directions that are fundamental to reach the final state. For instance, in a square matrix, if the robot is in the bottom left corner and the final state is in the top right corner, it should avoid visiting states that do not contain a single UP or RIGHT instructions. If the state does not contain one of these directions, it adds cost one to the heuristic for each direction needed.
Description:
Pre-compute the path with the lower number of direction changes between start and finish positions, obtain the direction changes made, group patterns with most elements and sum their length with the number of ungrouped direction changes. The heuristic value will be the absolute value of the difference between the current number of commands and the value computed previously.
Tasks:
While in the human gameplay mode, the player should be able to ask for a hint, by clicking on some key (eg. H).
As a maze might have several solutions, the algorithm should:
Optionally, the controller could implement mechanisms to highlight instructions provided by the hint system (eg. a different color) and display the number of used hints.
To avoid loading the images in every frame, the GUI must store the images in a data structure that allows to easily access information.
A possible implementation of a solution to this problem would include a dictionary that stores the images information and each time an image should be drawn, it checks if it was already loaded before.
In the human gameplay mode, this screen should display information about:
The main menu of the game should provide the following configuration parameters:
If the AI mode is selected, one more parameter should be provided:
For example, if an solution found by DFS with max_depth is found, it usually will be larger than the optimal solution therefore occupying more screen space. Currently the window size is set to accommodate the optimal solution on the start
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.