Author Topic: Core Wars  (Read 24105 times)

0 Members and 2 Guests are viewing this topic.

Offline hellninjas

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 625
  • Rating: +17/-0
    • View Profile
Re: Core Wars
« Reply #45 on: March 26, 2012, 08:28:56 pm »
I thought one had already started? I might be mistaken, but sure i'll participate ONCE I FIGURE OUT THIS FREAGIN LANGUAGE!

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: Core Wars
« Reply #46 on: March 26, 2012, 08:33:28 pm »
We should hold a monthly tournament, definitely. :D

(What if we had several sections as well with modified rules? Say, processes in one might all run at the same time no matter how many a program has?)

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Core Wars
« Reply #47 on: March 26, 2012, 08:47:55 pm »
Nope, no tournament has been started yet, although a thread has been started where people have been sharing their creations for fun.  And Homer, the issue I see with that rule-set is that games would be too short.  Within 22 frames a program could have completely filled the entire core (6 to reach 64 processes, 16 to fill the core) and there becomes no opportunity cost to creating processes.   

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: Core Wars
« Reply #48 on: March 26, 2012, 10:03:18 pm »
Ah, true. I suggested that because I would like to personally see something emerge I like to call an "Unpacker" which would basically deploy itself as several subprograms and could even have code to restore itself if it becomes damaged. (XD)

Although I guess that is still possible to do, it would just take a long time to run.

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline hellninjas

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 625
  • Rating: +17/-0
    • View Profile
Re: Core Wars
« Reply #49 on: March 27, 2012, 12:34:50 am »
* hellninjas runs Imp, NEVER ENDING BATTLE!

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Core Wars
« Reply #50 on: March 27, 2012, 09:00:48 pm »
Does anyone else get random text when exiting? I will post a screenshot if needed.

Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: Core Wars
« Reply #51 on: March 28, 2012, 02:09:43 pm »
Is there no limit on number of instructions run in a battle? It sucks to be battling two warriors where one of them uses an imp, and then it just freezes when the imp takes over.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Core Wars
« Reply #52 on: March 28, 2012, 02:10:47 pm »
If over 9000 instructions are executed, the game is taken to be a draw.  I might have to lower that limit :P

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Core Wars
« Reply #53 on: March 28, 2012, 07:53:38 pm »
Yeah, is it possible for us to have customizable process limits/instruction limits? And btw, is it just me, or is the "start in random location" thing not random for the first program? It seems like it always starts at the top corner, no where else. This has led to some strange behavior. Also, I would be interested in a tournament.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Core Wars
« Reply #54 on: March 28, 2012, 10:00:31 pm »
Customizable process limits?  What do you mean by that?  Also since positions are relative, the first program starting at the 'begining' of the core is irrelevant

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Core Wars
« Reply #55 on: March 28, 2012, 10:12:09 pm »
I think he means the number of times SPL (Is that it? I mean the instruction used to "fork".) can be executed successfully.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Core Wars
« Reply #56 on: March 29, 2012, 12:00:40 am »
Ah I see, and that unfortunately is very difficult to change, as it affects a lot of different memory locations.  I made it as large as I could before starting to eat into even more memory gained from appvars.  Remember that each process takes 2 full bytes, so with a max of 64 processes, that is already 256 bytes of data. 

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Core Wars
« Reply #57 on: March 29, 2012, 12:15:24 am »
Trying to learn to write RedCode so I can actually play this :P There's a lot to cover :O


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Core Wars
« Reply #58 on: March 29, 2012, 01:20:21 pm »
What I meant was the actually being able to lower the limit on threads :P Is it possible to make the debugger able to look at other memory locations in the core, and have a mode to constantly execute the program, instead of having to step?
« Last Edit: March 29, 2012, 01:20:28 pm by mrmprog »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Core Wars
« Reply #59 on: March 29, 2012, 02:05:13 pm »
Ah I see, yeah that would be possible, I'll implement that ^^