mirror of
https://github.com/smyalygames/monopoly.git
synced 2025-05-18 06:14:10 +02:00
i dont remember lmao
This commit is contained in:
parent
33834069d3
commit
f8a5bf658c
30
Assets/MYSQL.txt
Normal file
30
Assets/MYSQL.txt
Normal file
@ -0,0 +1,30 @@
|
||||
CREATE TABLE properties (
|
||||
property_id int(2) AUTO_INCREMENT PRIMARY KEY NOT NULL, #Easy way to identify with code
|
||||
property_name TINYTEXT NOT NULL, #The name of the property
|
||||
property_group TINYTEXT NOT NULL, #The group that the property is
|
||||
property_value int(3) NOT NULL, #How much it costs to buy the property
|
||||
property_cost int(3), #How much it is to buy a house/hotel
|
||||
property_rent int(2), #How much it costs to rent
|
||||
property_house1 int(3), #How much it costs with 1 house
|
||||
property_house2 int(3), #How much it costs with 2 houses
|
||||
property_house3 int(4), #How much it costs with 3 houses
|
||||
property_house4 int(4), #How much it costs with 4 houses
|
||||
property_hotel int(4) #How much it costs with a hotel
|
||||
);
|
||||
|
||||
property_name,property_group,property_value,property_cost,property_rent,property_house1,property_house2,property_house3,property_house4,property_hotel
|
||||
|
||||
CREATE TABLE users (
|
||||
user_id int(11) AUTO_INCREMENT PRIMARY KEY NOT NULL, #This is a uniquie ID for the user
|
||||
user_uid TINYTEXT NOT NULL, #This is the username for the user
|
||||
user_email TINYTEXT NOT NULL, #This is the email for the user
|
||||
user_pwd LONGTEXT NOT NULL #This is where the hashed password would be stored
|
||||
);
|
||||
|
||||
CREATE TABLE pwdreset (
|
||||
pwd_id int(11) PRIMARY KEY AUTO_INCREMENT NOT NULL, #This is a unique identifier
|
||||
pwd_email TEXT NOT NULL, #The email used to change the password for
|
||||
pwd_selector TEXT NOT NULL, #Where the selector is stored in plaintext
|
||||
pwd_token LONGTEXT NOT NULL, #Where the hashed token is stored
|
||||
pwd_expires TEXT NOT NULL #When the token expires
|
||||
);
|
7
Assets/MYSQL.txt.meta
Normal file
7
Assets/MYSQL.txt.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4e2ec0654b6aa5c4990ff0ee457f2409
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,7 +1,7 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using properties;
|
||||
using static properties;
|
||||
|
||||
public class board : MonoBehaviour
|
||||
{
|
||||
@ -10,7 +10,8 @@ public class board : MonoBehaviour
|
||||
{
|
||||
public int houses; //Initialising houses
|
||||
public int hotels; //Initialising hotels
|
||||
List<properties.Property> cards = new List<properties.Property>;
|
||||
// List<properties.Property> cards = new List<properties.Property>;
|
||||
Property cards = new Property("test", "test", 200, 400);
|
||||
|
||||
public Board()
|
||||
{
|
||||
|
29
Assets/properties.csv
Normal file
29
Assets/properties.csv
Normal file
@ -0,0 +1,29 @@
|
||||
property_name,property_group,property_value,property_cost,property_rent,property_house1,property_house2,property_house3,property_house4,property_hotel
|
||||
Old Kent Road,brown,60,50,2,10,30,90,160,250
|
||||
Whitechapel Road,brown,60,50,4,20,60,180,360,450
|
||||
King's Cross Station,station,200,NULL,NULL,NULL,NULL,NULL,NULL,NULL
|
||||
The Angel Islington,light blue,100,50,6,30,90,270,400,550
|
||||
Euston Road,light blue,100,50,6,30,90,270,400,550
|
||||
Pentonville Road,light blue,120,50,8,40,100,300,450,600
|
||||
Pall Mall,pink,140,100,10,50,150,450,625,750
|
||||
Electric Company,utilities,150,NULL,NULL,NULL,NULL,NULL,NULL,NULL
|
||||
Whitehall,pink,140,100,10,50,150,450,625,750
|
||||
Northumberland Avenue,pink,160,100,12,60,180,500,700,900
|
||||
Marylebone Station,station,200,NULL,NULL,NULL,NULL,NULL,NULL,NULL
|
||||
Bow Street,orange,180,100,14,70,200,550,750,950
|
||||
Marlborough Street,orange,180,100,14,70,200,550,750,950
|
||||
Vine Street,orange,200,100,16,80,220,600,800,1000
|
||||
The Strand,red,220,150,18,90,250,700,875,1050
|
||||
Fleet Street,red,220,150,18,90,250,700,875,1050
|
||||
Trafalgar Square,red,240,150,20,100,300,750,925,1100
|
||||
Fenchurch St Station,station,200,NULL,NULL,NULL,NULL,NULL,NULL,NULL
|
||||
Leicester Square,yellow,260,150,22,110,330,800,975,1150
|
||||
Coventry Street,yellow,260,150,22,110,330,800,975,1150
|
||||
Water Works,utilities,150,NULL,NULL,NULL,NULL,NULL,NULL,NULL
|
||||
Piccadilly,yellow,280,150,22,120,360,850,1025,1200
|
||||
Regent Street,green,300,200,26,130,390,900,1100,1275
|
||||
Oxford Street,green,300,200,26,130,390,900,1100,1275
|
||||
Bond Street,green,320,200,28,150,450,1000,1200,1400
|
||||
Liverpool Street Station,station,200,NULL,NULL,NULL,NULL,NULL,NULL,NULL
|
||||
Park Lane,dark blue,350,200,35,175,500,1100,1300,1500
|
||||
Mayfair,dark blue,400,200,50,200,600,1400,1700,2000
|
|
7
Assets/properties.csv.meta
Normal file
7
Assets/properties.csv.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1f2efedfae3c9544b88689c5c215b021
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/properties.xlsx
Normal file
BIN
Assets/properties.xlsx
Normal file
Binary file not shown.
7
Assets/properties.xlsx.meta
Normal file
7
Assets/properties.xlsx.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8ace548a18d3a9f4ca027af2228b4fc7
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
x
Reference in New Issue
Block a user