Back to Richel Bilderbeek's homepage.

Back to Richel Bilderbeek's Code Snippets.

 

 

 

Paper-Rock-Scissors simulation

 

This simulation shows pure paper-rock-scissors players competing on a two-dimensional grid (a donut-shaped world). Each time step, a random pixel is chosen (that is, either a paper, rock or scissors player) and a random neighbor. If one beats the other, the winner's strategy replaces the loser's pixel.

 

A screenshot can be viewed here.

A Windows executable can be downloaded here.

The source code can be downloaded here.

 

Licence

 

Paper-Rock-Scissors simulation

Copyright (C) 2007 Richel Bilderbeek

 

This program is free software: you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation, either version 3 of the License, or

(at your option) any later version.

 

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

 

You should have received a copy of the GNU General Public License

along with this program. If not, see <http://www.gnu.org/licenses/>.

 

Back to Richel Bilderbeek's Code Snippets.

Back to Richel Bilderbeek's homepage.