Add to my football strategy text game

This is a discussion on Add to my football strategy text game within the Game Programming forums, part of the General Programming Boards category; I created a text based football strategy game. I want to see if someone can come up with a better ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    8

    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
    Posts
    8
    Here is the source code. Hope the attach works this go around!
    Attached Files Attached Files

  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
    Posts
    8

    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.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    Aug 2001
    Posts
    8

    Include file attachment

    nflsim.h

    compile it with runpass.cpp

    comments?
    Attached Files Attached Files

  6. #6
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Is it just me. or are text strategy games more fun?

  7. #7
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    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, 05: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, 02: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, 05:29 PM

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