pedromartins / mew-dev Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/mew-dev
Automatically exported from code.google.com/p/mew-dev
Purpose of code changes on this branch:
sfds
When reviewing my code changes, please focus on:
fdsafdsa
After the review, I'll merge this branch into:
/trunk
fdsafads
Original issue reported on code.google.com by harry.eakins
on 15 Jan 2009 at 10:25
Attachments:
Hello guys,
I thought that having the map in front of us would better help when
debugging the AI that's why i tried to express it "graphically". On the way
I added a movement log because i think it will add "knowledge" to the map.
This way we will have the explored and the unexplored area of the map.
*sample3.c
It is based on sample2.c but uses map 1.
-created the function that draws the map
-print the map at various stages of the journey
*simulator.c
-created the movement log function
-call it inside the moveForward()
-in moveForward added a new condition to check if DROPZONE is in front
using the MapElement in order to bypass terminatingCond() and add to the
map knowledge the location of the dropzones.
*map.c
-added function that will create dropzones using MapElement on the map.
(I think MapElement DROPZONE should be used instead of DropArea[] because
the latter cannot be used as map knowledge. ie/ use IS_DROPZONE in the same
context as IS_EMPTY is used)
*map.h
-added new definition for IS_DROPZONE
-added new map elements for logging the orientation moves
To see the changes you can compare the differences of the uploaded files
with the trunk/simulator/src files.
I don't know how the process works. If you don't like my ideas and you find
them unnecessary you can just tell me so that i can improve next time :)
Pedro in no way my coding level and style can match yours. I tried to be as
close to your code as possible. If you decide to include this code then you
should "re-code" it to meet your standards.
George
Original issue reported on code.google.com by [email protected]
on 26 Jan 2009 at 3:47
Attachments:
sorry for this very elementary question but i waste too much time trying to
figure it out on my own whereas it should be quite obvious to you guys.
for the compilation of sample.c :
1) I change directory to release/samples
2) gcc -o exec_name.out sample.c -L include/
(I've tried many variations for the include directory)
I get errors for "undefined reference to 'getPosition' etc which are
functions inside sim.h
How can i correctly include the header file and should i include
lib/libsim.a as well?
Thanks,
George
Original issue reported on code.google.com by [email protected]
on 23 Jan 2009 at 2:59
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.