Here.
Web-based multiplayer strategy games and economics experiments http://www.otree.org/
The page has sample code for a full implementation of a public goods game
Web-based multiplayer strategy games and economics experiments http://www.otree.org/
The page has sample code for a full implementation of a public goods game