Skip to content

A place where all NFTs have same value! Play for Fun, NFTs from different chains in harmony (or war) in the same place!

License

Notifications You must be signed in to change notification settings

henrique1837/thevibes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TheVibes Space

A place where NFTs can play togheter and have fun. Currently playable with NFTs from Rinkeby, Ethereum, BSC, Avalanche, XDAI, Polygon and Boba network.

Users can also enter as guest (no NFT in wallet / not connected the wallet to the dapp).

Offchain Free to Play (Play for Fun!) game done with Phaser using IPFS pubsub to allow chat messages between players and show positions/movements in the game.

2D Maps were done using tiles from itch.io and generated using map editor.

TheVibes3D done with Enable3D, map done from heightmap, assets from sketchfab

NFTs lists were get using https://thegraph.com/hosted-service/subgraph/leon-do/xdai-erc721-erc1155 and https://api.thegraph.com/subgraphs/name/quantumlyy/eip721-subgraph-matic (and theirs networks);

Included UNS Login, user can use its domain as character.

Included IDX to allow users use its Self.ID profile as character and save base's position in the space.

Still a Proof of Concept:

  • Is it possible to make a multiplayer game using IPFS pubsub (or frameworks that were constructed on top of IPFS) ?
  • What are the issues ?
  • How to prevent cheat in the game ?
  • Should the game get the actual map to be used from a smart contract controled by a DAO ?
  • How to allow users play with their own created maps ?

UNS Login Demo Video

https://bafybeibh2ht5h3amo7hrmanxswa5mayi5z6itorp6g7skfaehdvzkhcdqm.ipfs.infura-ipfs.io/

Demo Video

https://bafybeif2myhdjkp6wa7dww7dyfztdpixdmihlueozpqi6fe22acpssgjze.ipfs.infura-ipfs.io/#/

Demo

Any of URLs

Contact

Testing Guide

As Guest

This option can be used by users that does not have NFTs or wallet.

  • Enter the dapp, wait for IPFS load and click "Enter as Guest" button;

Main

  • Move using arrows keys

Guest

Using NFT

  • Connect wallet in the dapp and wait NFTs load (Currently playable with NFTs from Rinkeby, Ethereum, BSC, Avalanche, XDAI, Polygon but some subgraphs may not be 100% synced with the blockchain)

  • Select your NFT

Select NFT

  • Move using arrows keys, touch the top of others to kill them, NFTs from same contract address or guests cant kill each other .

NFT

Guest Died

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

A place where all NFTs have same value! Play for Fun, NFTs from different chains in harmony (or war) in the same place!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published