Skip to content

nolash/crowdpongeth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CrowdPongETH

This project is inspired by Loren Carpenter's collaborative pong experiment.

http://www.interactivearchitecture.org/collaborative-control-experiments.html

It seeks to demonstrate a use of the Mutable Resource Update feature of development Swarm, which allows for updating of swarm data under a predictable pointer name, without resorting to ENS.

In short: New games and the participants are recorded on a contract, and two teams are formed. When the game loop starts (after a grace period after contract creation), every participant has one "vote" per second on whether the paddle should go up, down or remain in place. The votes are submitted in individual Mutable Resource Update streams, which are then retrieved by the client and rendered directly.

The player area has identical pixel sizes and paddle/ball velocities. Thus, given that all updates can be retrieved without network issues, the game should be able to run identically on every client. The Mutable Resources are stored as normal data on swarm, chunked up and distributed. In other words, totally decentralized.

  • Up: Q
  • Down: A

Team

  • Jiří Chadima @JirkaChadima
  • Deniel Horvatic @FollowJack
  • Louis Holbrook @nolash
  • Augusto Lemble @AugustoL
  • Mike Calvanese @mikec

Stash

Swarm:

http://swarm-gateways.net/bzz:/theswarm.eth

MRU

Special thanks to Javier Peletier @jpeletier for the excellent enhancements on the MRU project.

ethersphere/swarm#881

About

collaborative pong game using ethereum and swarm MRUs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors