X and O(Learn from Code Edition)

From WiiBrew
Jump to navigation Jump to search
X and O(Learn from Code Edition)
X and O Icon
General
Author(s)SAL3000
TypeBoard game
Version1.0
Links
Download
Source
Peripherals
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.

Controls

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

Credits


  • 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.