An open API service indexing awesome lists of open source software.

https://github.com/oddsdk/blockpaperscissors

The world's slowest arcade.
https://github.com/oddsdk/blockpaperscissors

Last synced: 5 months ago
JSON representation

The world's slowest arcade.

Awesome Lists containing this project

README

          

# SLW RK'D

[![Built by FISSION](https://img.shields.io/badge/⌘-Built_by_FISSION-purple.svg)](https://fission.codes) [![Discord](https://img.shields.io/discord/478735028319158273.svg)](https://discord.gg/zAQBDEq) [![Discourse](https://img.shields.io/discourse/https/talk.fission.codes/topics)](https://talk.fission.codes)

## 🤔 What's SLW RK'D?

The world's Slowest Arcade™.

### Current Games:

**Block, Paper, Scissors**

Description:

A game of coordination or chaos based around the consensus mechanism of the [FVM](https://fvm.filecoin.io/).

Objective:

- Lead the network to its longest winning streak OR achieve your longest personal combo
To keep the winning streak going, you are always voting on the next move the network makes and you want it to beat the previous move (eg. If the previous move was Paper, you want the network to play Scissors)
- To keep your personal combo going, you always want to vote with the clear majority. (eg. if 100 accounts participate in a move, and the majority of them chose Paper, your combo continues if you also chose Paper, but ends if you chose Block or Scissors)
- Why would anybody vote against the network streak continuing? I guess we’ll find out. Maybe you want to draw a specific picture on the grid, and that picture can’t be drawn without a bunch of streaks ending or stalemates occuring.

### Currently supported teams(networks):

1. Filecoin Calibration testnet
2. Polygon Mumbai testnet
3. Ethereum Goerli testnet

To participate as a member of a team you will need to add that specific network to your wallet client and obtain some testnet tokens, which will enable you to place votes.

In terms of wallet clients, the path of least resistance will be to install the MetaMask browser extension if you plan to play on desktop. You can install it [here](https://metamask.io/download/).

### To add one or all of the different networks to your wallet client, you can use these links:

- [Filecoin Calibration testnet](https://chainlist.org/chain/314159)
- [Ethereum Goerli testnet](https://chainlist.org/chain/5)
- [Polygon Mumbai](https://chainlist.org/chain/80001)

### To obtain testnet tokens from a faucet for a given team, you can use these links:

- [Filecoin Calibration testnet](https://faucet.calibration.fildev.network/funds.html)
- [Ethereum Goerli testnet](https://faucet.goerli.starknet.io/). Backup faucet(requires 0.0001 mainnet ETH balance) https://goerlifaucet.com/
- [Polygon Mumbai](https://faucet.polygon.technology/)

### Live Demo

You can find the deployed version of Block Paper Scissors [here](https://block-paper-scissors.fission.app)

## 📦 WHAT'S IN THE BOX?!

### 🧱 Built with a modern web stack

The app template is built with modern web technologies:

- [SvelteKit](https://kit.svelte.dev/) (powered by [Vite](https://vitejs.dev/) under the hood)
- [TypeScript](https://www.typescriptlang.org/)
- [Tailwind](https://tailwindcss.com/)
- [DaisyUI](https://daisyui.com/)

## 🚀 Getting Started

You can try out the template yourself [here](https://blockpaperscissors.fission.app/).

Ready? Let's go.

Prerequiste: ensure you are running Node 16.14 or greater, but _not_ Node 17 (18 is fine though!).

1. Clone the repository:

```shell
git clone git@github.com:webnative-examples/slwrkd.git
```

2. Install the dependencies.

```shell
npm install
```

3. Start the local development server.

```shell
npm run dev
```

4. Navigate to `http://localhost:5178` in your web browser.