Brianspha / puzzled

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

puzzled

This is a silly POC ERC20 puzzle solving game, the aim is to complete each of the sliding puzzles, but before playing a use needs to purchase PTokens which are used to play the game and each gameplay costs 500 PTokens. The other game is called amazeng which is another puzzle solving game but this time it uses token streaming to reward the user for having played the game the token used is the PToken

How it works (Puzzled)

  1. Player purchases Tokens plot plot plot

  2. Player clicks on play and is prompted to accept the 500 PTokens cost of playing the game plot plot plot

  3. Once Transactions have been confirmed the player is then taken to the game view where they will have to complete the puzzle in a given amount of time and score which is used as a reward for completing the level the only trick here is the score starts from a maximum and decreases with time so its the users task to ensure they get the highest score for maximum rewards plot

  4. The players scores are recorded and stored on the skynet blockchain plot

  5. A user can add more time should they wish to do so but the time will cost PTokens

plot 6. At the end of the session the user can either choose to continue or cashout their score in the form of PTokens plot plot 7. A users play session is recored and stored on the Leaderboard so other players can watch how a player completed a level plot plot

These tokens can also be used to play Amazeng the other game part of this submission

How it works Amazeng

Simple POC Blockchain Based Maze Solving Game integrated with Sablier Protocol

Solve as many maze puzzle whislt also fighting against time and collecting PTokens to be streamed to you by the end of the game

Amazeng screenshots

plot plot plot plot plot plot plot plot

Contract Deployed (Goerli/Matic)

  1. Amazeng- 0xE593AE2B480B645680c04F18cD2a02E0d5468138
  2. TournamentContract - 0x3acAc7Db46B279600040992b2553CFa3D8E8fa20
  3. TokenContract - 0x40b251285C005BD27A6fFcB2ed935E3c3c6F7558
  4. Sablier - 0x3D74A8089c7e83017d2CAF679C1f5c14e43e0b4D

Deployed Sites

  1. Puzzled - https://brianspha.github.io/puzzledgame/
  2. Amazeng - https://brianspha.github.io/amazenggame/

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

About


Languages

Language:JavaScript 91.1%Language:Solidity 4.3%Language:Vue 2.9%Language:CSS 0.9%Language:HTML 0.7%Language:Shell 0.0%