Code center > Darwinbots3

DNA command line interpreter

<< < (2/4) > >>

Numsgil:
.Net is free, it's just a set of run time libraries.

Buying Visual Studio to program in .Net isn't necessary.  They have a free version that is 100% adequate for anything you could possibly need.  Find it here.  Each language has its own download.

You can also use XNA with these programs, which lets you program games in .NET for XBOX 360 and PC.  I won't be using XNA for Darwinbots  (although an XBOX version of Darwinbots would be pretty wicked  ).  I'll probably use Tao's bindings for OpenGL, but if you're interested you can follow these instructions to install XNA too:

Install Microsoft Visual C# 2005 Express Edition (including Service Pack 1) using the link below.
Obtain the latest updates for Visual Studio from Microsoft Update.
Download and run the Microsoft XNA Game Studio Express 1.0 Refresh installer.
Follow the instructions displayed during setup.
Launch Microsoft XNA Game Studio Express from the Start Menu.

From this page.

Botsareus:
What about MSDN?

Numsgil:
There should be a way to download MSDN during the installation process.  If not then there must be a separate download for it.  It's hard to remember, I haven't played around with it in a long time.

Botsareus:
How does this work?

*nrg, does it return the val. of energy?

nrg by itself is a number representing the location of energy in the sysvars?

what about:

**50 , does it mean "the data of the memory location of the data of memory location 50?"

Numsgil:

--- Quote from: Botsareus ---*nrg, does it return the val. of energy?
--- End quote ---

Yes.  Labels are automatically turned in to numbers, you don't need to add the period '.' in front of them (the period now means "store to this location".)


--- Quote ---nrg by itself is a number representing the location of energy in the sysvars?
--- End quote ---

Right.


--- Quote ---**50 , does it mean "the data of the memory location of the data of memory location 50?"
--- End quote ---

Would cause a syntax error.  Explicits (labels with characters in front of them) are simply shortcuts for implicit commands (will be used also as a method of directing evolution-- the location and the store command are grouped together for higher cohesion).

10 .50 is a shortcut for 10 50 store
*50 is a shortcut for 50 ref
and once codules are implemented, @50 will be a shortcut for 50 call

If you wanted to do **50, you'd have to do either *50 ref or 50 ref ref.

You can download the DNA command line interpreter and actually play with this stuff.  And I'd be grateful if you did, as it would help me bug test / "play test" it.  You can create your own sysvars by using the def metatag.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version