Difference between revisions of "Iiii"

From WiiBrew
Jump to: navigation, search
(Reverted back page as it was before spammer.)
m (Changed over to the revolting new homebrew template. Absolutely hideous. Also, I don't like it.)
Line 1: Line 1:
{{Infobox homebrewapp
{{Infobox homebrew
| title      = iiii
| title      = iiii
| image      = [[Image:Iiii_Icon.png]]
| image      = [[Image:Iiii_Icon.png]]
| desc        = Connect 4
| type        = board game
| type        = Game
| author      = [[User:Yossi|Yossi]]
| author      = [[User:Yossi|Yossi]]
| version    = 2.0
| version    = 2.0
| download    = [[Media:Iiii2.0.rar‎|Download 2.0]]
| download    = Media:Iiii2.0.rar‎
| source      = [[Media:Iiii2.0 source.rar|Download 2.0 source]]
| source      = Media:Iiii2.0 source.rar
| peripherals = {{Wiimote2}} {{FrontSD}}
| peripherals = {{Wiimote2}} {{FrontSD}}  
| hbc        = 1
| hbb        = yes
| hbb        = 1

Revision as of 12:46, 26 May 2009

Iiii Icon.png
TypeBoard game
[Media:Iiii2.0.rar‎ Download]
Downloadable via the Homebrew Browser
WiiMote2.svg Loads files from the Front SD slot


iiii is a digital clone of the popular retail and pen-and-paper game "Connect 4". It is similar to Tic-Tac-Toe. The rules are simple. You take turns with another player to drop red or black pieces into the board. Pieces fall in from the top and slide down to stack up on top of each other. The goal is to get 4 of your pieces touching in a straight line (diagonals also count) before your opponent does.


This game has one and two player modes. By default there is one player and one wiimote in the game. Hitting plus (+) will toggle control of the red pieces between the CPU and a human. Hitting A on the second wiimote will cause red to be controlled by the second wiimote (rather than share on the first wiimote).


Wiimote.svg / WiimoteHorizontal.svg Action
Wiimote D-Pad Left / Wiimote D-Pad Up Move Left
Wiimote D-Pad Right / Wiimote D-Pad Down Move Right
Wiimote B Button / Wiimote 2 Button Drop Checker
Wiimote 1 Button Restart Game (Can only be done on your turn, or if the AI beat you)
Wiimote A Button Start Game, or on Wiimote 2: Join game.
Wiimote + Button Toggle AI on/off
Wiimote - Button Arikado's Homemenu
Wiimote HOME Button Direct Exit to Loader


If you want, you can put a settiiiings.ini file in the same directory as the game (root of the sd for wiiload) and change some of the defaults with it. This is entirely optional.
You can set how many pieces are needed in a line to win, adjust the size of the board or set the AI difficulty (setting this to 10 or higher will introduce noticeable lag). See the included settiiiings.ini for way more details.

The included settiiiings.ini may be messed up when opened with an editor that doesn't understand *nix line endings. Either get an editor that can read these files (good to have in general), or start nagging random people to format it for windows. I know I said future versions will have a notepad happy settiiiings.ini, but I am back to coding on linux and don't feel like doing the windows thing every time.


Starting in v1.1 1.2 v1.2+, you can put custom images into path/images/ and the game will load them. See sample images and included readme for more info. This readme might have the same issues as the settiiiings.ini file. Whatever. Deal with it. I already told you how. :P

Special thank you to drchink from tehskeen for pointing out the path loading bug. Per your suggestion, I made it look like the piece is sliding down (very fast) rather than just appearing there. Now post your images here so everyone can enjoy.
(Doesn't have to only be drchink, if YOU make some good images, post them here too :) ).



  • added AI by Keith Pomakis
  • rewrote win() to be smarter (pointless now that I found that AI, but it was a lot of work so I'm adding it here anyway)
  • wiimote can be held sideways (push two (2) to drop)
  • misc. cleanup


Download v1.1 and replace iiii.cpp with this. For 1.2+, the fix was to make std::string path be global and edit line 564 to reflect that. (Thanks to rck`d & TD-Linux for the idea for this fix. TD-Linux had a better solution, but I didn't implement it yet.) Even better solution now.

  • Really really loads images from path/images/ now
  • Pieces slide down rather than teleporting to the bottom.


  • Tries to load images from path/images/
  • Red player can switch to second wiimote during play
  • settiiiings.ini also acceptable as settings' file name


  • Initial release.

Why the Name?

The main reason I chose this name is that some people think too many programs are being released with ii in their names. Some of these names would normally have nothing to do with the ii sound, but the names were mangled to force an ii into them. I don't really care one way or another. I tend to think of ii as a way to identify the program as a wii program. Anyway, this name was chosen especially because it would get under the skin of certain people :D. Hi guys! You know who you are because you are the ones feeling pissed off right now :P.

If you don't like that excuse, then the 4 dots on the top of iiii represent the 4 pieces you need to line up to win.