Difference between revisions of "X and O(Learn from Code Edition)"

From WiiBrew
Jump to navigation Jump to search
Line 1: Line 1:
{{Infobox homebrew
{{Infobox homebrew
| title      = X and O(Learn from Code Edition
| title      = X and O(Learn from Code Edition)
| image      = [[Image:X-and-OIcon.png|100px|X and O Icon]]
| image      = [[Image:X-and-OIcon.png|100px|X and O Icon]]
| type        = board game
| type        = board game

Revision as of 15:56, 3 June 2009

X and O(Learn from Code Edition)
X and O Icon
TypeBoard game
WiiMote2.svg SensorBar.svg

X and O is a Tic-Tac-Toe game for the Nintendo Wii. It was programmed in C++ using devkitPro along with GRRLIB. It's main purpose isn't only for fun, but for letting others learn from the source. Every line is commented to help readers know what's happening. I hope you'll like the game and/or understand and learn from the source code.

The game can be played with a friend using two Wii Remote controller.

To win the game, you have to place three marks (O or X) in a horizontal, vertical or diagonal row. If the grid is filled completely and no one has won, well, it's a tie game. Start over and try to beat your friend.


Wiimote1.svg WiiMote2.svg Action
Wii Remote Aim Wii Remote Aim Aim at the screen and move the cursor
Wiimote A Button Wiimote A Button Select
Wiimote HOME Button Return to loader


  • Thanks to everyone who made GRRLIB.
  • Thanks to everyone who made devkitPro.
  • Special thanks to Team Twiizers for everything they did for the Wii homebrew community.