Reversi: Difference between revisions

From OLPC
Jump to navigation Jump to search
(→‎Code: Add patch for working with OLPCGames 1.6)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Olpcboxtop|toptext=[[{{PAGENAME}}|Reversi]]}}
{{Olpcboxtop|toptext=[[{{PAGENAME}}|Reversi]]}}
{{ OBX activity <!--|[[Image:Web.png]]-->|2=game<!--|{{{text}}}--> }}
{{ OBX activity <!--|[[Image:Reversi_icon_new.svg]]-->|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
Line 67: Line 67:
[[Category:Games]]
[[Category:Games]]
[[Category:Software]]
[[Category:Software]]
{{Activity page
|icon=Reversi_icon_new.svg
|genre=Games
|short description=Reversi (aka. Othello) is a simple strategy board game.
|contact person=User:DavidL
|activity source=https://olpc.coderanger.net/svn/reversi/
|bundle URL=https://olpc.coderanger.net/svn/reversi/
}}

Latest revision as of 03:58, 18 August 2008

Xo s.png This activity was games
Translate-icon-55px.svg Localization
.POT file NEEDED

see more templates or propose new

Screenshot of Reversi for the OLPC

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 - Reversi icon new.svg
  • 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'

Activity Summary

Icon: Sugar icon::Reversi_icon_new.svg
Genre: Activity genre::Games
Activity group: ,|x|Activity group::x}}
Short description: Short description::Reversi (aka. Othello) is a simple strategy board game.
Description:
Maintainers: ,|x|Contact person::x}}
Repository URL: Source code::https://olpc.coderanger.net/svn/reversi/
Available languages: ,|x|Available languages::x}}
Available languages (codes): ,|x|Language code::x}}
Pootle URL:
Related projects: Related projects,|x|Related projects::x}}
Contributors: ,|x|Team member::x}}
URL from which to download the latest .xo bundle Activity bundle::https://olpc.coderanger.net/svn/reversi/
Last tested version number:
The releases with which this version of the activity has been tested. ,|x|Software release::x}}
Development status:
Ready for testing (development has progressed to the point where testers should try it out): ,|x|Ready for testing::x}}
smoke tested :
test plan available :
test plan executed :
developer response to testing :