GithubHelp home page GithubHelp logo

ich66666 / wildcard-game Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kai63001/wildcard-game

0.0 0.0 0.0 352.52 MB

Wild game is NFT Card Game online make with godot and unity, dapp web3 (react,next js) marketplace (sell and buy NFT) and mint (create) NFT upload to IPFS

License: MIT License

JavaScript 33.31% C# 48.45% TypeScript 1.39% CSS 0.17% GDScript 15.74% HTML 0.75% Dockerfile 0.01% ShaderLab 0.01% Solidity 0.17%

wildcard-game's Introduction

HELLO

main

This is a NFT GAME based on blackjack multiplayer, First I try to use Unity and photon but I didn't like it so I switched to Godot with nakama multiplayer. (Godot version 3.4 only && Login via Metamask)

You can battle other players with Card NFTs with different abilities.

Game Screenshot

login loading find main main2 main3 main4

How does my multiplayer work

Imagine me and my friend playing chess in different rooms. When I moved my checkers from d2 to d3, I told my friend to move the checkers from d2 to d3, and if my friend moved d7 to d6. My friend will tell me again.

DApp

dapp

Marketplace

dapp2 dapp3 dapp4 dapp5

Mint

dapp6

Smart Contract

My smart contract on Binance smart chain testnet use hardhat to deploy

Example transaction https://testnet.bscscan.com/token/0xe97bd2b6b71647f0c3517613f19f8c561b98a7e8

How to get start

(Note Game)
You should get Moralis API server from moralis.io with binance testnet then open Godot(v.3.4) go to Login Screen Click Login Node You'll see Server Url and App Id from the right side change it if you not see you can open Login script and update it.
PS.You should check the Nakama connect to the your ip (ServerConnect.gd line 3)

(Note Metamask)
if you want 1 BNB go to
https://testnet.binance.org/faucet-smart

(Note Smart contract)
if you want to deploy and get you own smart contract you can do this
1. change the key at secret.json (key is Metamask private key you will get 92b99... then you just add 0x before your private key)
2. npm i
3. npm run deploy:binance

How to run
(you should have docker first)
1. docker-compose up

App: http://localhost

wildcard-game's People

Contributors

kai63001 avatar woraphatman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.