🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #338

Re: Computer opponent

#338
From: Just some weird dude
Date: Mon, 13 Apr 1992 14:10
38 lines
2613 bytes
In article <N02.23@csci1.csci.unt.edu>, N02@csci1.csci.unt.edu (Orion) says:
>
>
>Post some more details about the game.  Is it in real-time or not?  (if
>not), do you divide the actions up into phases?  how does the interaction
>take place?
>
>You will probably want to give a few simple (or not-so-simple) heuristics
>that the computer can use to make decisions.  These heuristics can be based
>on your own strategic experiences, and then you can play the program
>repeatedly to weed out the strategic errors that it is making.  You can have
>a set of special rules to cover special situations, and a limited tree-
>search (perhaps) to uncover certain options as well.

The game is in real time, which is my problem.  I had thought of
using an alpha beta search method and have the computer perform a
static evaluation.  I don't think this will work in real time.
For instance, if the computer decides that the best move is to
get behind me then fire, all I have to do is keep it in front of me.
The computer will continually decide that the best move is to fire
when it gets behind me and so never fires.

If real time is too difficult to implement, then yes, I am planning
to break it up into phases. Movement, the firing phase and the
damage evaluation/ repair phase. The interface will be mouse driven.
Weapons can be fired and powered by clicking on their icons.  The
shields can be powered in the same way.  By rotating an icon of the
ship, the heading can be changed.  The view will be an over-head
shot.  Once the game is working, I plan to change the view to
a 3d first person vantage point.  It will be like looking out
the front viewport.  The over-head view could still be selected by
the sensors icon.
______________________________________________________________________
  COREY GRAY   IO00198@MAINE.MAINE.EDU  |
 "THE MEEK SHALL INHERIT THE EARTH -    | "A WET DOG SWIMS IN THE RAIN
  AND THE BOLD SHALL INHERIT THE STARS" |   BUT A DRY MARTINI LAUGHS"
   - ME, AND PROBABLY A MILLION OTHERS. |  - DEFINITELY ME
----------------------------------------------------------------------
Technical Details
Message-ID: <92104.101050IO00198@MAINE.MAINE.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!hri.com!noc.near.net!mars.caps.maine.edu!maine.maine.edu!io00198
References: <92098.095748IO00198@MAINE.MAINE.EDU> <N02.23@csci1.csci.unt.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!hri.com!noc.near.net!mars.caps.maine.edu!maine.maine.edu!io00198
From: IO00198@MAINE.MAINE.EDU (Just some weird dude)
Newsgroups: rec.games.programmer
Subject: Re: Computer opponent
Message-ID: <92104.101050IO00198@MAINE.MAINE.EDU>
Date: 13 Apr 92 14:10:50 GMT
Article-I.D.: MAINE.92104.101050IO00198
References: <92098.095748IO00198@MAINE.MAINE.EDU> <N02.23@csci1.csci.unt.edu>
Organization: University of Maine System
Lines: 38