Empire AI in C#

This is a discussion on Empire AI in C# within the Game Programming forums, part of the General Programming Boards category; Hi people, I'm going to dive into C# and for a first testing project, I'll write a game. Does anyone ...

  1. #1
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139

    Empire AI in C#

    Hi people,

    I'm going to dive into C# and for a first testing project,
    I'll write a game. Does anyone know Empire ? Back in
    the Atari ST ages ? Strategy game, simple, about 8
    different units and 2 terrains ( land & water ).
    I'll go for it

    I will post the game AI's class here, so everyone can
    derive an AI of their own. In the end we could have a
    nice AI fight... anyone interested ?

    The development will take some time
    so it might be late october until I have a final version.

    Please reply if you'd like to join in ...
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  2. #2
    ggs
    ggs is offline
    C > C++ duders ggs's Avatar
    Join Date
    Aug 2001
    Posts
    435

    ok

    Sounds good to me. It's a chance to do something fun and take a look at C#.

    btw: is c# going to be able to compile for current systems, or is it only going to be .NET? And is .NET going to be like the old (and failed) plans to have a "computer utility", or will you still be able to buy and run standalone products? I don't think people want to "rent" products...
    .sect signature

  3. #3
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    There is a project under way to convert the .NET framework for Linux. If this succeeds, C# programs
    will run in Linux environments as well.

    C# is a programming language like any other.
    You can sell standalone apps. You can rent
    apps. You can print your sourcecode and use
    as wallpaper... whatever you like.

    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  4. #4
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742

    Asteroids

    An asteroids game would be a lot more fun. Do you know the game? It's the one where you are the ship that travels thorugh the asteroid field. You can fire lazers and you have sheilds, plus you can get weapon upgrades or energy upgrades and stuff like that. Now that would be the game! Arcade Style action.
    I compile code with:
    Visual Studio.NET beta2

  5. #5
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    *g* yes, Asteroids might be more fun... I had that one
    on my Atari, too. However, what made me play 'till dawn
    were games like Empire

    Plus it's not real time... some GDI+ graphics drawing
    green and blue tiles and units on them shouldn't be
    too hard
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  6. #6
    Anti-Terrorist
    Join Date
    Aug 2001
    Location
    mming, Game DevelopmentCSR >&<>&2Minimization of boolean functions, PROM,PLA design >&0>&WA, USA guitar, dogsCommercial Aviation >&>>&USAProgramming
    Posts
    742
    I've never played Empire although I am also a fan of role-playing games. I'm familiar with some titles on N64 such as Zelda64 and Mario64. Also, I tried out PSII, which was quite nice. Forgot which titles.

    Whatever you come up with, I'd be happy to be a tester. Keep people updated, and good luck.
    I compile code with:
    Visual Studio.NET beta2

  7. #7
    Registered User minime6696's Avatar
    Join Date
    Aug 2001
    Posts
    267

    Thumbs down YAY Lets all **** the world and switch to JAVA!

    My god! Why is it everyone here is getting into C# and Java. Becouse you dont know graphics? Is C++ Too hard? Come ON! All of the net hype amounts to little, I would love to see a professional game or ANYTHING made in Java or C#, lolz I would SO LOVE to see an API written in C#. Microsoft and Sun are setting up to control everything with these things, you can't do anything without them wanting you to! I am not doing any C# and I hope the real programmers on this board agree! I do a bit of Java, becouse it has it's place. The Internet languages in my opinion belong doing what they are doing, makking menu's and little popup games, not becoming the main language. You all act like C++ is a stepping stone to the real languages, its the other way around, ASM, C++, and PASCEL are the real languages and the net stuff is the stepping stone, whtich I took in 5th grade.

    SPH

  8. #8
    ggs
    ggs is offline
    C > C++ duders ggs's Avatar
    Join Date
    Aug 2001
    Posts
    435

    cruelty inside

    LOLOLOLOLOLZOZOZLOLZOLOZLZ!!!1 @# ROOOOOOFLE!!! C! C! C!
    .sect signature

  9. #9
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    The Internet languages
    When will you learn that Java and C# are not Internet languages ?
    Could it be you are badmouthing things you never even tried ?

    Why is it everyone here is getting into C# and Java
    C# because I love to learn new things. I like to know
    why I'm doing C++. You obviously use C++ because
    you don't know how to use the other languages.
    I like to have a reason why I use C++. I'm using it
    because it's the best tool for the job. If a new tool
    pops up, I have to test and reevaluate. Maybe the
    new one is better.
    Oh, and I use Java, because I have to. It's the best
    tool for interfacing with our Oracle database when
    creating stored procedures that are a little more
    complex than normal.


    I would love to see a professional game or ANYTHING made in Java
    Well, install an Oracle database and administrate it.
    All the tools are written in Java. Execution speed
    sucks, but that's definetly a professional 'anything'
    to notice.

    I hope the real programmers on this board agree!
    From my post starting this thread you might get the
    impression I don't. And you are right. The 'real'
    programmers, the professionals, the ones coding
    40 hours a week will tell you to use the tool best
    suited for the job. If that happens to be C#, tough
    luck. But the 'real' coders don't have that much of
    a problem switching languages. After all a language
    is just a means of getting your program across.
    The real work is not the syntax.

    So, let's see... here are some easy questions for us.
    Try to think about it.... how much basics do you know
    about the languages in use today ?

    Do
    1) Java
    2) C#
    3) C++
    4) VB

    ... have a keyword comparable to 'unsigned' ?
    ... have a keyword comparable to 'const' ?
    ... compilation products run on more than one system ?
    ... have libraries for Windows RAD ?
    ... have interfaces for DirectX ?
    ... have primitive datatypes ?
    ... have OOP ?
    ... have database tools that are part of the basic installation ?
    ... have the ability to create applets ?
    ... have the ability to drive webpages as 'codebehind' ?
    ... have opensource and/or free compilers available ?

    Hint: C++ can NOT do all of it
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  10. #10
    Registered User minime6696's Avatar
    Join Date
    Aug 2001
    Posts
    267

    Red face I think you entirely mis understood.

    You've misunderstood my post, the whole point of it WAS what you where just saying. I was saying that java and C# should be used for what they are good for. I know some VB, I know some Java, I've never tried c#, since it's new. C++ CAN have anything. You forget it is the creator of all that stuff, so it DOES have all of that stuff, just not in the same way. AND You forget C++ IS webpages, Not only are the browsers programmed in it (without that there would be no net languages) the interpreters, AND all of the drivers and such that support it!!! Theres an abuility to create "applets" its just not built it, you have to do it yourself. Make a dll that has a class wit han onButtonClick. Or make an applet interpreter it doesnt matter. Im saying java belongs on the internet, not makking professional programs. Its cool you made it, but its slow, so does it really belong as something you would sell and pur your name on? I didnt think so.

    SPH

  11. #11
    ggs
    ggs is offline
    C > C++ duders ggs's Avatar
    Join Date
    Aug 2001
    Posts
    435
    So you're saying there are no professional apps for the internet? Go to www.oracle.com (that's it, right?) and see. DBs are extremely important, and these "internet" languages make it easier to manipulate and deal with them. Sometimes you have to.

    And those languages provide such great time wasters, such as rogue remade:

    www.hexatron.com/rogue/index.html

    mmmm
    .sect signature

  12. #12
    Registered User ski6ski's Avatar
    Join Date
    Aug 2001
    Posts
    133
    I think that if anyone wants to make anything with any language and they have that ability to do so........then so be it! Just because you (anyone) can't do it, does not mean that someone else can't either. So if someone wants to create a game in C# GREAT!! I would like to learn C# just because it is new. I know java,VB,C++ and html. So adding C# would just make me a little more valuable.........
    C++ Is Powerful
    I use C++
    There fore I am Powerful

  13. #13
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    I don't think this is gonna be a professional game, more of a kind of hobby project to apply the langauge to. Regardless, I think it will be fun to see. I'd like to see more projects that people have completed/are working on from the posters on these boards.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  14. #14
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    Just to clarify that, my "first testing project" is
    definetly NOT a professional game. Once it's ready,
    anyone interested can have the source.

    It will be small and simple, maybe it'll suck.

    The way I planned it so far there will be a server
    and multiple clients. The server runs the game.
    Each client can be driven by a program or a
    User Interface. Program driven Clients are
    obviously computer opponents.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  15. #15
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    ignoring all posts except the original...

    this sounds to be an excellent idea to me though i don't have time to learn C#(and it looks like java so i doubt i'd learn it any i just cant stomache the form/look of the language) so i cannot participate but its an excellent test for the language...

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple space combat AI
    By VirtualAce in forum Game Programming
    Replies: 5
    Last Post: 01-06-2009, 12:54 AM
  2. chess ai contest
    By Raven Arkadon in forum Contests Board
    Replies: 7
    Last Post: 07-09-2005, 07:38 AM
  3. What's Your Favorite Empire?
    By Unregd in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 03-28-2003, 12:55 PM
  4. Game Design Topic #1 - AI Behavior
    By TechWins in forum Game Programming
    Replies: 13
    Last Post: 10-11-2002, 11:35 AM
  5. Technique of all board-like games?
    By Nutshell in forum Game Programming
    Replies: 28
    Last Post: 04-24-2002, 09:19 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21