Connect 4 Local Multiplayer

We're glad you came by, but you might find what you're looking for elsewhere.

TI-Basic Developer is not the site it once was. While its information on commands and other calculator features remains almost second-to-none, its forum, archives, and even hosting service, Wikidot, have been decaying for years. The calculator community would love to see what you're working on, or help you in your next coding adventure, but TI-Basic Developer is no longer the place to do it.

Instead, you should head over to Cemetech (primarily American) or TI-Planet (primarily international). Both are active, well-established forums with their own archives, chatrooms, reference material, and abundant coding tools and resources. We'll see you there, we hope.

You have not uploaded your program! Please to upload your program.

Author:

Mewcancraft

Download: CONNECT4.8xp No Download Available
Version: 1.0
Compatibility: TI-83/84/+/SE
File Size: 851 Bytes
Genre: Arcade Graphics Platform Puzzle RPG Strategy Sports Casino Board Utility Misc
Rating:
TI|BD

This program features a very basic Connect 4 game. The idea and interface were taken from a program made by CodeMaster123 that you can check out at http://tibasicdev.wikidot.com/forum/t-1441297/connect-4. I looked at his program and rewrote it from scratch to improve it whilst keeping his design, so feel free to download his too.

For those of you who don't know Connect 4, it's very easy. A typical Connect 4 game has two players: one who has a bunch of yellow (light) coins and one who has red (dark) coins. The board, which is an upright standing grid of slots, each slot the size to hold one coin, has walls between each of said grid's columns to seperate them from each other, meaning that when one drops a coin in a column, that coin will go all the way down to the first available slot in the same column. Every slot has a hole smaller than a coin on both sides, meaning that the two players can see what colour the coin inside that slot has. The players take turns on dropping their coins in the grid. The goal of the game is to get 4 coins of your colour in one line without being seperated by one of the other player's coins: this line can be horizontal, vertical or diagonal.

That said, these are the controls for this digital version of said game: You control the cursor (your "hand") with the left and right arrow keys and drop the coin in the designated column using Enter. Every time somebody drops a coin, the program will calculate whether or not 4 coins of the same colour were connected. This calculation takes approximately two seconds. After that, the playernumber in the bottom right will change, signifying that it's the other player's turn. Since this game is local multiplayer, you hand the calculator you're playing on to the opponent, so they can drop their coin. Then they pass it back to you, etc…

Player 1's coins are light, player 2's coins are dark. The first to connect 4 of their coins, wins. Have fun!

What the community thinks:

jonbush jonbush 13 Nov 2015 18:51

Perhaps you would be interested my Connect Four AI Challenge. earthnite and I created a modular Connect Four program last year so that we could play different AIs against each other. We started a challenge, but it never got any participants. I am considering bringing this up at Cemetech as well. BTW, real connect four is 6x7.

Last edited on 13 Nov 2015 18:51 by jonbush
by jonbush jonbush , 13 Nov 2015 18:51
Mewcancraft Mewcancraft 13 Nov 2015 19:01

As I stated, I did not design the interface. That's what CodeMaster123 did.

As for the challenge, I'll look into it sometime soon.

by Mewcancraft Mewcancraft , 13 Nov 2015 19:01
CodeMaster123 CodeMaster123 17 Nov 2015 12:04

Thanks for giving me credit!

by CodeMaster123 CodeMaster123 , 17 Nov 2015 12:04
Mewcancraft Mewcancraft 18 Nov 2015 12:35

With pleasure!

by Mewcancraft Mewcancraft , 18 Nov 2015 12:35
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.

AltStyle によって変換されたページ (->オリジナル) /