https://github.com/possen/fothello
Reversi like game.
https://github.com/possen/fothello
game ios objective-c reversi spritekit
Last synced: 3 months ago
JSON representation
Reversi like game.
- Host: GitHub
- URL: https://github.com/possen/fothello
- Owner: possen
- Created: 2013-11-13T00:12:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-24T21:09:26.000Z (about 7 years ago)
- Last Synced: 2025-01-06T02:24:21.481Z (5 months ago)
- Topics: game, ios, objective-c, reversi, spritekit
- Language: C++
- Size: 50.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
fothello
========
[](https://codebeat.co/projects/github-com-possen-fothello-master)Reversi like game.
-----------------This is the beginnings of a Reversi like game. The idea is to get familiar with
SpriteKit and eventually GameKit also develop for multiple devices on the Apple Platforms.Capabilities
------------
* Model handles persisting games and related information.
* Model supports boards of larger than 8x8.
* Model handles the naming conflicts and preferred piece colors for a player
* Model lets you store a game for later play.
* Model has a callback mechanism to get tracks of what pieces will be flipped by a move.
* It is designed to support more than two players at once (thus the multiple colors other than black and white).
* It reports correct or bad moves.
* Allows different strategies for each player.
* legal move display
* challenging play with Mini Othello for AI Strategy.
* supports AWS EC2 instance to save battery life, if on netowrk and defaults back locally otherwise.Classes
=======Fothello
--------
Root object for game. Initializes objects. Manages players, games and current game.Match
----
Associates a players to a particular match. Initiates the board, manages the game logic such as who's turn it
is and how moves are made. Could be subclassed for a different variant of the game. Has functions to determine
tracks of what pieces would be flipped. It also knows how to calculate the current score.Player
------
Manages a preferred player color but if two players have same color will set a differnt one when the game
begins.Piece
-----
Piece object manages a color. Every square of the board is associated with a piece even if there is no piece
placed.Board
-----
Handles the grid of pieces, intended to handle the mechanics of updating the board positions. No game logic
goes here.Strategy
--------
Overridable strategy object. It will called with the takeTurn method for each player.Nov 12, 2013
- Paul