Thread: Add to my football strategy text game

  1. #1
    Registered User
    Join Date
    Aug 2001
    Location
    CCA
    Posts
    9

    Add to my football strategy text game

    I created a text based football strategy game. I want to see if someone can come up with a better PlayAlgorithm() than me. We can compete to see who's Algorithm does better. By PlayAlgorithm() I mean, determining when you should either Run, Pass, Field Goal or Punt the ball, depending on certain factors like, what down it is, yards to go, what yardline the ball is on, time left in the quarter or game, how many points you are winning or losing by etc...

    Please reply to this post if interested. I attached a copy of my PlayAlgorithm() as a template or example for you to work with.

    RC

  2. #2
    Registered User
    Join Date
    Aug 2001
    Location
    CCA
    Posts
    9
    Here is the source code. Hope the attach works this go around!

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    752
    This is actually pretty interesting, but we need to how RUN, PASS, FIELD_GOAL, and PUNT work.
    Callou collei we'll code the way
    Of prime numbers and pings!

  4. #4
    Registered User
    Join Date
    Aug 2001
    Location
    CCA
    Posts
    9

    Run, Pass, FG, Punt Code

    Here's an attachment with the code for

    Run, Pass, FG, Punt, with a bare bones main program to excercise each.

    This post has the .cpp file, next post will have the .h file.

  5. #5
    Registered User
    Join Date
    Aug 2001
    Location
    CCA
    Posts
    9

    Include file attachment

    nflsim.h

    compile it with runpass.cpp

    comments?

  6. #6
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Is it just me. or are text strategy games more fun?

  7. #7
    I like strategy games, but I like TBS games like Final Fantasy Tactics, Vandal Hearts, or Ogre Battle / Tactics Ogre.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Text based game
    By wipeout4wh in forum C Programming
    Replies: 12
    Last Post: 03-26-2009, 04:39 PM
  2. Text adventure game GUI
    By VirtualAce in forum Game Programming
    Replies: 11
    Last Post: 11-07-2007, 06:34 PM
  3. Dynamically add statis text to a dialog box
    By earth_angel in forum Windows Programming
    Replies: 8
    Last Post: 06-23-2005, 01:28 PM
  4. Outputting String arrays in windows
    By Xterria in forum Game Programming
    Replies: 11
    Last Post: 11-13-2001, 07:35 PM
  5. Football simulation strategy
    By real_cozzy in forum Game Programming
    Replies: 0
    Last Post: 08-14-2001, 04:29 PM