frodare / geneticmobs Goto Github PK
View Code? Open in Web Editor NEWAn attempt to describe Mob behavior in Minecraft using a genetic algorithm approach.
An attempt to describe Mob behavior in Minecraft using a genetic algorithm approach.
Build a DNA class that with methods to get and set the genes. It will be able to import and export a chain of longs. Possibly support a binary format, ASCII and array.
long 0
Traitslong 1 - n
BehavoirsBuild a behavior gene class that can import and export to a long. Have getters and setters for all of the behavior factors for easy access.
Gene Type
byte 0
nibble 0
Stimulus Codenibble 1
Action Codebyte 1
Action parameter
Gene Behavior Values
byte 2
Distance from target
byte 3
Has target
byte 4
Nearby enemies
byte 5
Can attack
byte 6
Is moving, has a path
byte 7
Health
Build a traits gene class that can import and export to a long
. Have getters and setters for all of the traits for easy access.
byte 0
DNA versionbyte 1
Strength (2-5 hit points) affects size of mobbyte 2
Speed (0.5-1.5 m/s)byte 3
Life Span (10-40 seconds)byte 4
Health (6-13)byte 5
Regeneration (1-4)byte 6
byte 7
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.