Page 1 of 1

Vic-20 Connect 4 Assembly Program

Posted: Sat Apr 23, 2005 2:31 pm
by Centallica
Has anyone seen or have this program? I remember having a Connect 4 program in the 80's for the Vic-20 and was wondering if this was the same one?

http://www.pomakis.com/~pomakis/c4/connect4.asm

If not here it is, if I only knew what to do with it :?

Brian

Posted: Sat Apr 23, 2005 3:05 pm
by carlsson
You take the source and run it through an assembler, "Buddy" seems to be the preferred one, but with some tweaking it probably will work with any 6502 assembler, native or cross developing one.

If you move one directory level higher (i.e. edit the URL), you can download a binary version for VIC-20:

http://www.pomakis.com/~pomakis/c4/connect4-vic20

On level 1, it is like playing with a toddler. On level 7, it displays a lot of garbage while thinking for an eternity. The presentation reminds me of a Basic program, although it is written in machine code. I don't know what the different levels refer to programmability wise.

Re: Vic-20 Connect 4 Assembly Program

Posted: Wed Jan 14, 2015 8:19 am
by pomakis
It's not the game from the 80s. I only wrote this in 1997.

Yeah, at level 1 the algorithm is pretty brain-dead. And the garbage you're seeing at level 7 (or anything at level 5 or above, IIRC) is the overflow of the lookahead calculations into screen memory. The fun thing is that it actually continues to work even though it's using screen memory for its calculations. The skill-level sweet spot is level 4 or 5. It's pretty hard to beat at those levels, and doesn't take an annoying amount of time to make a move.

(Sorry for taking almost ten years to reply to this; I just saw this post for the first time now!)

Re: Vic-20 Connect 4 Assembly Program

Posted: Wed Jan 14, 2015 8:59 am
by beamrider
pomakis wrote:
(Sorry for taking almost ten years to reply to this; I just saw this post for the first time now!)
..better late than never :D

Re: Vic-20 Connect 4 Assembly Program

Posted: Wed Jan 14, 2015 6:23 pm
by Mayhem
Welcome :)

Now, anyone got a copy of the game so I can put it in GB20?

(I don't think I have it, but I will check)

Re: Vic-20 Connect 4 Assembly Program

Posted: Thu Jan 15, 2015 8:26 am
by Kweepa
In case Keith takes another 10 years to reply, the website has been rearranged. You can get the prg from here:
http://www.pomakis.com/c4/

Re: Vic-20 Connect 4 Assembly Program

Posted: Thu Jan 15, 2015 5:14 pm
by Centallica
Thanks Kweepa :D

Re: Vic-20 Connect 4 Assembly Program

Posted: Sat Jan 17, 2015 11:38 am
by Mayhem
Had a check, looks like I had already added it :)