Announcement

Collapse
No announcement yet.

Please don't take this too seriously.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sava
    replied
    That's for sure.

    Leave a comment:


  • Buster Crabbe's Uncle
    replied
    I haven't had one in 20 years, and never had many, or one that didn't have an atom bomb in it.

    I'm different than other people.

    Leave a comment:


  • Sava
    replied
    It depends. I've got symptom management down to a science. I haven't had a nightmare since December.

    Leave a comment:


  • Buster Crabbe's Uncle
    replied
    How depressed do you even get?

    Leave a comment:


  • Sava
    replied
    i dont think i could do it

    Leave a comment:


  • Buster Crabbe's Uncle
    replied
    Well, yeah. But sullen, crying wanks.

    Leave a comment:


  • Sava
    replied
    masturbation?

    Leave a comment:


  • Buster Crabbe's Uncle
    replied
    Lori, don't listen to the Pothead. Moving to another country will just stress you out, and you know where that leads...

    Leave a comment:


  • Sava
    replied
    in soviet russiastan

    Leave a comment:


  • Buster Crabbe's Uncle
    replied
    God will soon come to work for you.

    Leave a comment:


  • Sava
    replied
    You are doing God's work.

    Leave a comment:


  • Lorizael
    replied
    Okay, it's possible that I'm not very good at Connect Four, but I can now no longer beat the computer. I've created a monster!

    Leave a comment:


  • Lorizael
    replied
    And I think I fixed the boardValue method. I ended up debugging it by hand... because I'm bored at work but don't have access to the program. That was arduous. The method looks at the last test move made by the AI; finds every horizontal, vertical, and diagonal 4-slot space (on a 7x6 board) containing the most recent move; makes sure that space contains only blank slots or other tokens of the same player; finds a value for that move based on whether the space contains 1, 2, 3, or 4 tokens of the same player; and finally adds up all the values for every one of the 4-slot spaces and returns that sum to the miniMax method (which is a recursive method for finding the least bad move the AI can make).

    And I went through and debugged that by hand with a test case board typed into notepad that looks like this:

    -------
    -------
    -------
    -------
    x------
    o--x---

    Blarg. But before I pat myself on the back, I need to actually run the program with the new method and see what variety of ludicrous errors I've managed to spawn.

    Leave a comment:


  • Buster Crabbe's Uncle
    replied
    Good for you, man. It's very satisfying, solving a puzzle.

    Leave a comment:


  • Lorizael
    replied
    Heh. I mostly fixed the AI for my Connect Four program. The AI is very stupid for the first few moves, but if you don't trap it right then and there, it gets fairly smart. I think the problem is that it doesn't do a good job of evaluating a mostly empty board. So I have to work on the boardValue method...

    Leave a comment:

Working...
X