Skip to content

Commit

Permalink
Call it Version 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SaganRitual committed Jan 6, 2020
1 parent d7d0f68 commit 6e05934
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 24 deletions.
Binary file modified MovieForREADME.mp4
Binary file not shown.
Binary file modified MovieforREADME.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 13 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Arkonia
A natural selection simulator

[![GitHub release](https://img.shields.io/github/release-pre/SaganRitual/Arkonia.svg?style=plastic)](https://github.com/SaganRitual/Arkonia/tree/v1.0)
[![GitHub release](https://img.shields.io/github/release-pre/SaganRitual/Arkonia.svg?style=plastic)](https://github.com/SaganRitual/Arkonia/tree/v2.0)
[![License](https://img.shields.io/github/license/SaganRitual/Arkonia.svg?style=plastic)](https://github.com/SaganRitual/Arkonia/blob/dev/LICENSE)
[![Runs on](https://img.shields.io/badge/Platform-macOS%20only-blue.svg?style=plastic)](https://www.apple.com/macos/)
[![Does not run on](https://img.shields.io/badge/Platform-not%20iOS-red.svg?style=plastic)](https://www.urbandictionary.com/define.php?term=SOL)
Expand All @@ -13,37 +13,26 @@ genetically to make them better at eating each other, and ultimately, to make yo
Written in Swift, using SpriteKit, with no UI other than the main window, because I really
suck at UI programming.

### Status 16 July 2019
### Status 05 Jan 2020

I took a step back from my high ambitions from before, and just focused on the neural nets, leaving
out all the genes for body and behavior. It's all in place now, and the overall structure of the code
has begun to stabilize enough that I can start building on it. My next step will be
to implement some genes to control the body--at present, all the genes are devoted to building the
brain. The arkons all have the same propulsion style:
Another big redesign. Using the physics engine to move them around turned out to be a big headache,
so now I move them around on a fixed grid using SKActions. Now, with any luck, I'll get some cool
genetic stuff going, like some genes to control the body--at present, all the genes are devoted to building the
brain.

* Go forward
* Stop
* Rotate
* Stop
* Repeat
Arkons currently have four sets of senses, two sets for tracking external stimuli and two
for tracking internal stimuli:

The power and duration of the forward motion and rotation are under genetic control, as well as the duration of
the stops.

Arkons currently have eight senses. Three of the senses are 2D vectors requiring two inputs, and
the other five ar scalars. The senses are:

* Velocity
* Angular velocity
* Hunger level
* Oxygen level
* Location in the world, as (r, Θ) to the origin
* Very short-range detection of food, as (r, Θ) to the closest morsel, and a count of how many are sensed
* Very short-range detection of other arkons, as (r, Θ) to the closest arkon, and a count of how many are sensed
* Very short-range detection of food and other arkons (which can be eaten if the attacker is big
enough), as (relative position, nutrition value) pairs

I don't have a road map, because I lack discipline. Here are some alleyways I will probably explore.

* Genome
* Body and behavior genes
* Sex
* Predation
* Other propulsion strategies
* Gestation period and other birth-related stuff
* Relatedness detection, so they'll know whether they're about to eat their uncle

0 comments on commit 6e05934

Please sign in to comment.