Quantcast
Channel: Small Basic
Viewing all articles
Browse latest Browse all 669

Connecting Four Circles - Small Basic Featured Game

$
0
0

This came from the November challenges:

http://social.msdn.microsoft.com/Forums/en-US/eb13e8a4-4826-4709-8b49-3767ea9df415/challenge-of-the-month-november-2013?forum=smallbasic

Game Challenge

  1. Write a clone of the Connect 4 game for 2 players (or harder using AI to play against the PC).

 

Nonki Takahashi went to work on it (final game: LSM678-6). Here is the story of his progression...

 

Thursday, November 07, 2013 12:45 PM

Nonki started the game challenge: LSM678.

Screen shot of a program Connect Four 0.1a

 

Sunday, November 10, 2013 12:18 PM

Next came a demo version of game challenge: LSM678-0.

Nonki made a png file with GIMP 2 from a screen shot of the previous version of this program.

Screen shot of a program Connect Four 0.2a

 

Monday, November 11, 2013 6:13 AM

Next, Nonki added a check routine for four straightly connected same color disks: LSM678-1.

But you can not play a game with this program yet...

Screen shot of a program Connect Four 0.3a

 

Monday, November 11, 2013 9:17 AM

Nonki rewrote the game AI (very weak) for a vs human mode: LSM678-3.

Screen shot of a program Connect Four 0.5b

Nonki wrote the logic for Draw, but there is a bug...

 

Great job, Nonki! The AI is a little easy, but it's still very addicting!

Nonki responded in the comments with the latest version of this game:

http://smallbasic.com/program/?LSM678-6

 

Great improvements! The UI is much more of a challenge now! 

    - Ninja Ed


Viewing all articles
Browse latest Browse all 669

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>