RockPaperScissors

Description

There is a fair amount of documentation in the macro itself. Here is a quick overview.

This macro enables 2 players to play a game of Paper Rock Scissors (PRC). In a similar fashion to how the MonthCalendar works, you need to decide on a page that will be the game page. You then need to add 2 sub-pages, /PlayerOne and /PlayerTwo. As PRC is a game of secrecy, the two players might want to setup their ACL rules so that only they have read and write access to their player pages.

On each of the player pages, the players list each 'play' of the game. The format for a play is a simple wiki list entry, with one of rock, paper or scissors as the only thing on the line. Here is an example with 3 plays:

 * rock
 * Paper
 * SCISSORS

Please note that case is not important, only that you create a wiki list using the 3 valid moves.

Its really easier to just try it out! Good luck!

JosYule

/SourceCode

Download & Release Notes

Download

Release Version

Moin Version

Release Notes

RockPaperScissors.py

1.2

Example

[[RockPaperScissors()]]

JosYule

License

Bugs

Discussion

MoinMoin: MacroMarket/RockPaperScissors (last edited 2008-02-01 18:09:24 by JordanCronin)