Line 5:
Line 5:
| type = Game
| type = Game
| author = [[User:Yossi|Yossi]]
| author = [[User:Yossi|Yossi]]
−
| version = 1.2+
+
| version = 2.0
−
| download = [[Media:Iiii1_2fixed.rar|Download 1.2 (now works!)]] <!--i hope-->
+
| download = [[Media:Iiii2.0.rar|Download 2.0]]
−
| source = [[Media:Iiii_source1_1.rar|Download 1.1 source]]<br>[http://pastebin.com/fea60d98 iiii.cpp v1.2]
+
| source = [[Media:Iiii2.0 source.rar|Download 2.0 source]]
| peripherals = {{Wiimote2}} {{FrontSD}}
| peripherals = {{Wiimote2}} {{FrontSD}}
| hbc = 1
| hbc = 1
Line 17:
Line 17:
== Details ==
== Details ==
−
This is a 2 player game. Unless you have a split personality, you will need to install a second player (not included) somewhere near your wii.<br>
+
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).
−
By default the game only uses one wiimote. <br><s>If you want the added convenience of a second wiimote, or if the other player has snot on his hands, you can set <tt>control TWOWIIMOTES </tt> in the settings.ini file.</s> This still works, but it's better to do what's described on the next line.<br>
−
Updated in 1.1:
−
:Pressing {{WiimoteAButton}} on the second wiimote will now cause control of red to be passed to that wiimote (overrides <tt>control ONEWIIMOTE</tt>).
== Controls ==
== Controls ==
Line 28:
Line 25:
! {{Wiimote}} !! Action
! {{Wiimote}} !! Action
|-
|-
−
| {{WiimoteDPadLeft}} '''/''' {{WiimoteDPadRight}} || Move Left / Right
+
| {{WiimoteDPadLeft}} '''/''' {{WiimoteDPadUp}} || Move Left
|-
|-
−
| {{WiimoteBButton}} || Drop Checker
+
| {{WiimoteDPadRight}} '''/''' {{WiimoteDPadDown}} || Move Right
|-
|-
−
| {{Wiimote1Button}} || Restart Game (Can only be done on your turn)
+
| {{WiimoteBButton}} '''/''' {{Wiimote2Button}} || Drop Checker
+
|-
+
| {{Wiimote1Button}} || Restart Game (Can only be done on your turn, or if the AI beat you)
|-
|-
| {{WiimoteAButton}} || Start Game, or on Wiimote 2: Join game.
| {{WiimoteAButton}} || Start Game, or on Wiimote 2: Join game.
|-
|-
−
| {{WiimotePlusButton}} || Will be MetaFight's menu someday. Does nothing now
+
| {{WiimotePlusButton}} || Toggle AI on/off
|-
|-
−
| {{WiimoteMinusButton}} || Arikado's Homemenu
+
| {{WiimoteMinusButton}} || Arikado's Homemenu <!-- sadly pointless as my game doesn't use the pointer at all -->
|-
|-
| {{WiimoteHomeButton}} || Direct Exit to Loader
| {{WiimoteHomeButton}} || Direct Exit to Loader
Line 44:
Line 43:
== Settiiiings.ini ==
== Settiiiings.ini ==
−
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 settings through there. This is entirely optional.<br>
+
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.<br>
−
You can set how many pieces are needed in a line to win, and adjust the size of the board. See the included settiiiings.ini for more information.<br>
+
You can set how many pieces are needed in a line to win, or adjust the size of the board. See the included settiiiings.ini for way more details.<br>
−
Updated in 1.1:
+
<br>
−
:"You should consider making it Sett''iiii''ngs.ini, or something to that effect ;)" -- [[User:MetaFight|MetaFight]] 15:33, 2 April 2009 (UTC)
+
The included settiiiings.ini may be messed up when opened with an editor that doesn't understand *nix line endings. Either [http://notepad-plus.sourceforge.net/uk/site.htm 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.
−
:Now supports either settiiiings.ini or settings.ini for the name ;D<br>
−
<s>'''It has come to my attention that the included settings.ini is messed up when opened with an editor that doesn't understand *nix line endings.''' Either [http://notepad-plus.sourceforge.net/uk/site.htm get an editor] that can read these files (good to have in general), or grab this [http://www.mediafire.com/download.php?eqozozh2olm windows friendly version] of the file. Future versions (>1.1) will have a notepad happy settiiiings.ini, unless I do away with the .ini file completely.</s> Addressed with v1.2
== Images ==
== Images ==
−
Starting in <s>v1.1</s> <s>1.2</s> v1.'''2+''', you can put custom images into ''path''/images/ and the game will load them. See [[Media:Iiii-images.rar|sample images]] and included readme for more info. '''This readme has the same issues as the old settings.ini file did.''' Whatever. Deal with it. I already told you how. :P<br>
+
Starting in <s>v1.1</s> <s>1.2</s> v1.'''2+''', you can put custom images into ''path''/images/ and the game will load them. See [[Media:Iiii-images.rar|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<br>
−
Special thank you to drchink from tehskeen for pointing out the path loading bug. Just for you, I made it look like the piece is sliding down (very fast) rather than just appearing there. Now it's your turn to show us the images you made :)
+
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. <br>
+
(Doesn't have to only be drchink, if YOU make some good images, post them here too :) ).
== History ==
== History ==
+
+
=== [[Media:Iiii2.0 source.rar|v2.0]] ===
+
* 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
=== [http://pastebin.com/f523429d5 v1.2]+ ===
=== [http://pastebin.com/f523429d5 v1.2]+ ===
Line 73:
Line 77:
== Why the Name? ==
== 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.
+
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.<br>
−
<br> <br>
+
<br>
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.
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.
[[Category:Homebrew using The HOMEbrew Menu Standard Library]]
[[Category:Homebrew using The HOMEbrew Menu Standard Library]]