deductive_systems's People
deductive_systems's Issues
Implement-Model
Implement model
attribute of the world
class in a way the statements will be represented in logical syllogism.
Room class
world is the actual game world and room is one grid in this world right? if so what is the relationship between them does room a subclass of world ? for every game, content in room can be different as mentioned in class we should randomize the place of wumpus, gold and pit if so how do you plan to handle this randomness ?
Implement-program_evaluator()
Implement program_evaluator()
function of the agent
class.
Initial design
we will have four classes Agent, World, Action and precept
represent variable
repr
#Agent #World
-current_postition -state
-ok +draw_world()
-visited
-stench
-breeze
+change_position(where to go)
- get_ajacent(current_position)
+perceive(adjacent)
+do_logical_inference(perceived)
+take_action(logical infered)
#Action #Percept
+goto_left() +is_stench(position)
+goto_right() +is_glitter(position)
+goto_up() +is_breeze(position)
+goto_down() +is_bump(position)
+shoot(where to shoot)
+grab_gold()
+climb_out()
=>Agent initialized at position 1, 1 before the agent take action it execute the get_adjacent method and for this method agent passes its current position
=> After agent gets its adjacent it iteratively calls perceive method for each adjacent point and in perceive method all methods in percept class will be executed
eg Vector perceive (adjacent1){
is_stench(adacent1)
...
}
=>then we let the agent do logical inference based on his knowledge about the world and let the agent take the appropriate action
This is the abstract idea I propose
Room-class-Implementation
Implement and test every component of the room class as described in the project plan.
Agent-class-Implementation
Implement and test every component of the Agent class except the program_evaluator()
function as described in the project plan. The program_evaluator()
function will be made with an iterative code that makes random guess on states of neighboring rooms.
Agent class
why do agent have its own version of grid ?
why do not agent use already created grid in world class?
Main-app-Implementation
Implement the main app from which an executable will be built.
World Class
why do you include agent_status attribute in world class?
UI-class-Implementation
Implement and test every component of the UI class as described in the project plan
Add-CMake
Add CMake files to build and install the whole project.
World-class-Implementation
Implement and test every component of the world class except the "model" attribute. This attribute will be replaced with some trivial value for the time being.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.