Smart contract for a competitive game project focused on depositing the prize to the winner with cross platform proffesional Flutter app running RockPaperScissors.
- Solidity
- Truffle
- Flutter
- Flask
- Python
- Mysql
- SocketIO
- Rest api
- Install all Requirements for this project.
- Clone the project
git clone https://github.com/rapexa/Competitive_game && cd Competitive_game
CREATE DATABASE CP_GAME;
CREATE USER 'DEVELOPERUSER'@'localhost' IDENTIFIED BY 'DEVELOPERPASS';
GRANT ALL PRIVILEGES ON CP_GAME.* TO 'DEVELOPERUSER'@'localhost';
USE CP_GAME;
DROP TABLE IF EXISTS Games;
DROP TABLE IF EXISTS Users;
CREATE TABLE Games (id INT NOT NULL AUTO_INCREMENT, player1 VARCHAR(260),player2 VARCHAR(260),status VARCHAR(50), PRIMARY KEY(id));
CREATE TABLE Users (id int NOT NULL AUTO_INCREMENT, Uniqeid VARCHAR(260),name VARCHAR(100),status VARCHAR(50), PRIMARY KEY(id));
CREATE TABLE Winers (id int NOT NULL AUTO_INCREMENT, Uniqeid VARCHAR(260), name VARCHAR(100), PRIMARY KEY(id));