AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Connect 4 [in German: 4 gewinnt]

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
pekoe



Joined: 06 Sep 2008
Posts: 3
Location: Germany

PostPosted: Sat Sep 06, 2008 2:11 pm    Post subject: Connect 4 [in German: 4 gewinnt] Reply with quote

The well-known "Connect 4" game.



Download (download ZIPPED in order to preserve the character encoding (ISO-8859-1), as the source code contains special characters.)

Uses the fonts Webdings and Wingdings, which aren't available in all Windows versions.

(Names: Plot Four, Four in a Row, Four in a Line, Connect Four, Vier gewinnt )

http://www.autohotkey.net/~pekoe/
(game, jeu, Spiel)


Last edited by pekoe on Fri Nov 14, 2008 6:14 am; edited 18 times in total
Back to top
View user's profile Send private message
jaco0646



Joined: 07 Oct 2006
Posts: 666
Location: MN, USA

PostPosted: Sat Sep 06, 2008 2:23 pm    Post subject: Reply with quote

Wonderful! I love these kind of simple board games. If I may offer one suggestion: make the computer move automatically after every human move, to eliminate the Go button.

Kudos on offering multiple levels. That greatly increases the replay value. Out of curiosity, approximately how long did it take for you to code this game?

Thanks again! Keep up the good work!
_________________
http://autohotkey.net/~jaco0646/
Back to top
View user's profile Send private message Visit poster's website
pekoe



Joined: 06 Sep 2008
Posts: 3
Location: Germany

PostPosted: Sat Sep 13, 2008 10:08 am    Post subject: Reply with quote

New version with source code and GUI in English. Optionally moves automatically after every human move.
Back to top
View user's profile Send private message
P1h3r1e3d13



Joined: 09 Sep 2008
Posts: 4

PostPosted: Mon Sep 15, 2008 7:39 pm    Post subject: Reply with quote

This is cool, thank you.

The back button switches sides.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group