Originally posted by Lorizael
View Post
Announcement
Collapse
No announcement yet.
Please don't take this too seriously.
Collapse
X
-
Catherine and Bismark declared war on me right when I had finally decided to go to bed (which was still ass late), so I had to stay up to see the war through. I had the tech lead, but I was caught up doing builder things and had neglected my military for a couple thousand years. I had the money to upgrade, but I just didn't have that many units to upgrade. Fortunately I'd recently switched to Universal Suffrage so I was able to start pumping out new units relatively quickly.
Still, Bismark and I have been trading Sparta for a few turns. But my second wave just arrived and I should be able to hold the city for good now. Might have to burn a city or two of Bismark's to get him to settle down, though. When I get home from work, that is. And if I don't just take a long nap, that is.Click here if you're having trouble sleeping.
"We confess our little faults to persuade people that we have no large ones." - François de La Rochefoucauld
Comment
-
I think I do pretty well for someone with so near-zero formal schooling and sub-par talent for maths.Scouse Git (2) La Fayette Adam Smith Solomwi and Loinburger will not be forgotten.
"Remember the night we broke the windows in this old house? This is what I wished for..."
2015 APOLYTON FANTASY FOOTBALL CHAMPION!
Comment
-
Originally posted by Buster's Uncle View PostHmm. How to psych up to talk to the college people? I got nothin'. That's hard, when you've been putting it off.
Ideas, peanut gallery?
(I'm assuming here that it's not the same problem as last time. If it is, FFS Lori, take your meds!)
Comment
-
Can we get a condensed version?Scouse Git (2) La Fayette Adam Smith Solomwi and Loinburger will not be forgotten.
"Remember the night we broke the windows in this old house? This is what I wished for..."
2015 APOLYTON FANTASY FOOTBALL CHAMPION!
Comment
-
That about sums it up. Maybe I should eat dinner.Click here if you're having trouble sleeping.
"We confess our little faults to persuade people that we have no large ones." - François de La Rochefoucauld
Comment
-
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...Click here if you're having trouble sleeping.
"We confess our little faults to persuade people that we have no large ones." - François de La Rochefoucauld
Comment
-
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.Click here if you're having trouble sleeping.
"We confess our little faults to persuade people that we have no large ones." - François de La Rochefoucauld
Comment
-
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!Click here if you're having trouble sleeping.
"We confess our little faults to persuade people that we have no large ones." - François de La Rochefoucauld
Comment
Comment