Consulting

Results 1 to 5 of 5

Thread: OXO' Game in VBA, against CPU

  1. #1
    VBAX Newbie
    Joined
    Dec 2006
    Posts
    4
    Location

    Unhappy OXO' Game in VBA, against CPU

    HI ALL

    new to this forum, with an serious problem.

    As fun as it sounds, i'm in a probation period at a new job as a Office Automation Developer....Great! Thats the easy part!

    The hard part is i've been asked to produce a Naughts & Crosses game in excel.... Ok i thought.........next catch, it needs to be against the computer, not 2 player (which seemed easy to start with).

    How is it possible to do this?
    Is it really possible to get VB to learn different moves based on a 9 block grid, and give it the desire(or algarithims) to win?

    final catch, I HAVEN'T GOT A CLUE WHERE TO START.

    Give me a task for a MultiDimesional Array and i storm through it......BUT THIS!!!!!!!!!

    Please help

    Error#9

  2. #2
    VBAX Regular
    Joined
    Oct 2006
    Location
    Warsaw, Poland
    Posts
    23
    Location
    Hi,

    Quote Originally Posted by error#9
    The hard part is i've been asked to produce a Naughts & Crosses game in excel.... Ok i thought.........next catch, it needs to be against the computer, not 2 player (which seemed easy to start with).

    How is it possible to do this?
    Thera are many Tic Tac Toe games in Excel, you may find some in my Excel Games Library

    Noughts And Crosses by Ole P. Erlandsen is Player vs Computer and has unprotected code, so you should find everything what you need.
    One Hundred MS Excel Games

  3. #3
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    Maybe contact the guy that taught the computer to think on the movie "War Games"

  4. #4
    Sorry for bumping old thread, i need help with my excel game, i dont know why is not working formula, can some one help me?

  5. #5
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,724
    Location
    It's much better to start your own thread, maybe referencing an old one

    But it's MUCH better to provide information with your question

    "I need help" and and "I don't know" and 'working formula" don't give us much to go on

    Attach a workbook with your data and macro and etc. to make it easier for people to offer suggestions
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •