This is the war game, the highest card wins the pot, in this app you will be playing the house(casino) war casino game on web3 with moralis and polygon started with this tutorial [https://www.youtube.com/watch?v=nfYCSodsdn8] and ill go from there
will be using moralis and work on polygon network the front end will be with react/next and mui library Past results will be cached to be able to see stats on past games
- betting an amount
- getting payed
- add/remove money from personal pot
will include test for the contract
will have two pages
- the one from the tutorial
- gaming page
- some ui test with cypress
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
- you need a Moralis account to be able to connect with metamask and used the sc on moralis test network