zim1985's Profile User Rating: -----

Reputation: 75 Whiz
Active Posts:
573 (0.25 per day)
19-February 10
Profile Views:
Last Active:
User is offline May 23 2014 03:15 PM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Dream Kudos:

Latest Visitors

Icon   zim1985 has set his status

Posts I've Made

  1. In Topic: Trying to Add Multiple Levels of AI to Game - Not Sure Where to Start

    Posted 22 May 2014

    Actually I'm not looking to increase the size of the grid. I am looking to have different levels of computer difficulty.

    That said, I'm sure some of what you've posted will be helpful and I'll make sure to look through it when I get a chance later today.

    View Postmodi123_1, on 21 May 2014 - 09:26 AM, said:

    Explain how your AI currently decides where to move.

    A few questions.

    Why five levels?
    Have you given much thought on what should differentiate the AI between levels? Depth of branching simulations on moves? Mistakes made? Randomness introduced?

    Well 5 levels so you can play different difficulty of computer.

    Level 1 - Easy: Computer will just pick a random unoccupied tile.
    Level 2 - Medium: Computer recognizes when a player has a winning move and will attempt to block them from winning.
    Level 3 - Hard: Computer will try and take winning moves.
    Level 4 - Very Hard: Computer will value corners and center tiles over sides. Will only take sides to win/block.
    Level 5 - Impossible to beat the computer.

    I realize some of these levels will build off of one another. Like Level 2 is just Level 2 except with the Player win condition recognition and Level 3 is just like Level 2 except with computer win condition recognition. Level 4 and 5 are the ones I'm pretty much stumped on logically. I have no idea where to really start for any other these aside from the Level 1 (though I have implemented some code it does not work correctly).
  2. In Topic: Tic Tac Toe

    Posted 15 May 2014

    View PostCurtis Rutland, on 15 May 2014 - 10:26 AM, said:

    First suggestions: set a breakpoint in the areas you suspect aren't working. Trace the execution line-by-line using the debugger to see how your logic actually flows, and to inspect values on the fly. That should grant you some insight into the problem.

    Now the part I'm confused about is this:


    he section of code to deal with a draw does not trigger

    Does this mean that you suspect the code isn't doing what it's supposed to, or that it's never actually being called?

    I suspect that my code is never being called. Even though the criteria for a draw arises, I don't think that else-if block is ever actually being executed and I'm not sure why because I look at my logic and it makes sense to me.

My Information

Member Title:
Grand Inquisitor
22 years old
July 22, 1993
-Video Games
Full Name:
Mike Zrimsek
Years Programming:
Programming Languages:
Java, C, C++, Python

Contact Information

Skype  mzrimsek


zim1985 has no profile comments yet. Why not say hello?