Reversi: Difference between revisions
Jump to navigation
Jump to search
(→Code: Add patch for working with OLPCGames 1.6) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Olpcboxtop|toptext=[[{{PAGENAME}}|Reversi]]}} |
{{Olpcboxtop|toptext=[[{{PAGENAME}}|Reversi]]}} |
||
{{ OBX activity <!--|[[Image:Web.png]]-->|2= |
{{ OBX activity <!--|[[Image:Web.png]]-->|2=games<!--|{{{text}}}--> }} |
||
{{ OBX source other|[https://olpc.coderanger.net/svn/reversi/ coderanger.net]|SVN}} |
{{ OBX source other|[https://olpc.coderanger.net/svn/reversi/ coderanger.net]|SVN}} |
||
{{ OBX pot |
{{ OBX pot |
Revision as of 10:30, 30 June 2008
see more templates or propose new |
Reversi (aka. Othello) is a simple strategy board game, an implementation of which was developed at the OLPC Game Jam by DavidL.
Gameplay
More info on the gameplay can be found on Wikipedia's entry for Reversi.
Features
Completed Features
- Two player gameplay
- Text-free chip counts and player identification
- Valid moves are displayed using dots. This is to help new players.
- Multiple ways of displaying who the current player is:
- the current player's id is highlighted
- the dots which indicate valid moves are colored accordingly
- Black and white compatible graphics.
- A chip cup that is displayed on game end. When clicked on, the game is restarted.
Unimplemented features / TODO
- A bigger cursor. The current/default one is too small and does not match the larger one used in most of Sugar.
- Custom SVG icon -
- See Sugar Icon Format for info on making an icon.
- Network gameplay
- AI for single player play
- Draw-time optimizations, which should help conserve laptop power.
- Multi-color graphics (for use when the laptop is not in black and white mode)
- More?
Code
The source code for an XO-compatible version of Reversi that was developed at the Game Jam can be found at https://olpc.coderanger.net/svn/reversi/
Patch to work with OLPCGames 1.6:
Index: Reversi.activity/activity.py =================================================================== --- Reversi.activity/activity.py (revision 16) +++ Reversi.activity/activity.py (working copy) @@ -1,6 +1,6 @@ -import olpcgames +from olpcgames import activity -class ReversiActivity(olpcgames.PyGameActivity): +class ReversiActivity(activity.PygameActivity): """Reversi as a Sugar activity.""" game_name = 'Reversi'