Reversi: Difference between revisions
Jump to navigation
Jump to search
(→Unimplemented features / TODO: suggested icon) |
(→Code: Add patch for working with OLPCGames 1.6) |
||
Line 49: | Line 49: | ||
The source code for an XO-compatible version of Reversi that was developed at the [[Game_Jam|Game Jam]] can be found at https://olpc.coderanger.net/svn/reversi/ |
The source code for an XO-compatible version of Reversi that was developed at the [[Game_Jam|Game Jam]] can be found at https://olpc.coderanger.net/svn/reversi/ |
||
Patch to work with OLPCGames 1.6: |
|||
<pre>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'</pre> |
|||
[[Category:Games]] |
[[Category:Games]] |
Revision as of 00:48, 10 March 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'