Arrrr, how do i make my game harder

This is a discussion on Arrrr, how do i make my game harder within the Windows Programming forums, part of the Platform Specific Boards category; Hi Ppl, I sat down this afternoon and for some off reason decided to make a windows tic tac toe ...

  1. #1
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    339

    Cool Arrrr, how do i make my game harder

    Hi Ppl,

    I sat down this afternoon and for some off reason decided to make a windows tic tac toe game, which i havnt done before.
    Any way i did, and it works. But i am not to hot at programming hard AI. Can someone look over my program and tell me if i need to make it harder? Or if i do how i can do it with not to much changing.

    Thanks for any help

    TNT
    Attached Files Attached Files
    Last edited by (TNT); 11-25-2001 at 12:13 PM.
    TNT
    You Can Stop Me, But You Cant Stop Us All

  2. #2
    Registered User canine's Avatar
    Join Date
    Sep 2001
    Posts
    125
    Your game is good but I noticed one problem:
    if you go in the same place twice it promts you not to but then lets the computer play again before your turn.
    In a perfect world every dog would have a home and every home would have a dog.
    Visit My Web Site, Canine Programming
    I use Win32 API

  3. #3
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    339
    Hi,


    Thanks, i will fix that now.
    Do you know how i can go about making it harder?

    Thanks
    TNT
    TNT
    You Can Stop Me, But You Cant Stop Us All

  4. #4
    Registered User johnnie2's Avatar
    Join Date
    Aug 2001
    Posts
    186
    Give the AI a little foresight: if the other player has two boxes checked, there's a very good chance he intends to go for three in a row. So, identify which boxes are checked, figure out the most logical next move for the human, and let the AI take that spot. Also, you might consider placing a high priority on taking the middle early on since it's usually easier to block your opponent with command of the center.
    "Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 20q game problems
    By Nexus-ZERO in forum C Programming
    Replies: 24
    Last Post: 12-17-2008, 05:48 PM
  2. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 01:32 PM
  3. How To Make: Screen Killer (Game)
    By BillBoeBaggins in forum C++ Programming
    Replies: 3
    Last Post: 11-20-2003, 06:06 PM
  4. What do you need to make a game?
    By makveli in forum Game Programming
    Replies: 13
    Last Post: 11-12-2003, 07:02 PM
  5. What would i need to make a game in 2d?
    By DarkViper in forum Game Programming
    Replies: 41
    Last Post: 12-25-2002, 06:28 PM

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