Author Topic: 8x8 Connect 4: AI Challenge  (Read 9624 times)

0 Members and 1 Guest are viewing this topic.

Offline Dav

  • Forum Resident
  • Posts: 792
    • View Profile
Re: 8x8 Connect 4: AI Challenge
« Reply #30 on: December 17, 2020, 01:02:30 pm »
Ok..kind of got a system going.  Beat it several times doing this way, using a diagonal block method to prevent AI setting up 4 in a row diags while leaving me room to make one. 

- Dav

EDIT:  How come my attached pictures are always large, and others are not?

 
8x8win.jpg
« Last Edit: December 17, 2020, 01:03:57 pm by Dav »

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: 8x8 Connect 4: AI Challenge
« Reply #31 on: December 17, 2020, 01:21:48 pm »
@Dav You musta been serious about the 'one the last try' for the muses to bless you with another crack in the AI. ;-))

Thanks STx and Dav, I realize as I approach my goal of perfect AI, less and less people will want to play. But then again, a certain sort of person would be all the more challenged, until proved, at least to them self, unbeatable.

I see that at first your first move #2 of game seems irrational, at first, but you establish two poison spots on base line, on either side that AI can't play without losing, so that tells me AI needs to value base line cell or lower cells a little more.

Thanks you guys, your input is very helpful!

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: 8x8 Connect 4: AI Challenge
« Reply #32 on: December 17, 2020, 01:38:47 pm »
Quote
EDIT:  How come my attached pictures are always large, and others are not?

@Dav  yours have a border, is that the larger part, looks pretty close. I am using QB64 1.4 stable on Windows 10 64 bit laptop. Yours Kinda looks like Linux screenshot, maybe older version of Windows or 32 bit?

Offline Dav

  • Forum Resident
  • Posts: 792
    • View Profile
Re: 8x8 Connect 4: AI Challenge
« Reply #33 on: December 17, 2020, 01:40:33 pm »
Hard to quit a fun challenge! Yep, at the beginning I try to eliminate any 4 horizonal base, then as the towers build up, block the AI diags setting up. Diag 4 in a row is what the AI gets me on most of the time.

I really enjoy puzzles like this. Mind if I try to convert this the smartBasic for playing on my ipad?

- Dav

Offline Dav

  • Forum Resident
  • Posts: 792
    • View Profile
Re: 8x8 Connect 4: AI Challenge
« Reply #34 on: December 17, 2020, 01:42:15 pm »
Oh, no I meant on the forum here, everyones pictures are small looking until I click on them to open them up, but my attached pictures are already enlarged view.

- Dav

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: 8x8 Connect 4: AI Challenge
« Reply #35 on: December 17, 2020, 01:50:41 pm »
Quote
Mind if I try to convert this the smartBasic for playing on my ipad?

@Dav Thanks for compliment, fine with me, the more the merrier. It's what I like about sharing.

Maybe it's browser difference for the screen shots, mine looks close to yours in size except no border.

There is difference if you just attach an image or if you go ahead and insert the attached image in a post, but you know  that I bet. :)
« Last Edit: December 17, 2020, 01:52:49 pm by bplus »

FellippeHeitor

  • Guest
Re: 8x8 Connect 4: AI Challenge
« Reply #36 on: December 17, 2020, 03:21:16 pm »
Oh, no I meant on the forum here, everyones pictures are small looking until I click on them to open them up, but my attached pictures are already enlarged view.

- Dav

If you just attach an image, it'll show as a thumbnail which people can click to enlarge. If you insert the attachment into the post body, it'll show in full size.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: 8x8 Connect 4: AI Challenge
« Reply #37 on: December 17, 2020, 03:38:28 pm »
If you just attach an image, it'll show as a thumbnail which people can click to enlarge. If you insert the attachment into the post body, it'll show in full size.

Except in Opera, for my ipad... Then they both automatically blowup to fit the screen size, for some odd reason.
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline Dav

  • Forum Resident
  • Posts: 792
    • View Profile
Re: 8x8 Connect 4: AI Challenge
« Reply #38 on: December 17, 2020, 04:18:35 pm »
Lol...all this time I never figured that out. I thought you had to do an 'insert attachment' to add an image to the post.   Thanks!

- Dav