This commit is contained in:
Marcin Czerniak 2021-05-09 16:25:28 +02:00
commit 6ea38b9584
3 changed files with 228 additions and 2 deletions

View File

@ -1,2 +1,2 @@
# projekt-sztuczna-intyligencja # projekt-sztuczna-inteligencja

View File

@ -25,15 +25,125 @@ class Product {
} }
static get REGISTRY() { static get REGISTRY() {
// in alphabetical order
return { return {
empty: new Product('', ''), empty: new Product('', ''),
airFrashener: new Product('airFrashener', 'fa-wind'),
apple: new Product('apple', 'fa-apple-alt'), apple: new Product('apple', 'fa-apple-alt'),
babyAccessories: new Product('babyAccessories','fa-baby-carriage'),
bacon: new Product('bacon', 'fa-bacon'), bacon: new Product('bacon', 'fa-bacon'),
bandAid: new Product('bandAid', 'fa-band-aid'),
basketballBall: new Product('basketballBall', 'fa-basketball-ball'),
beer: new Product('beer','fa-beer'),
bell: new Product('bell','fa-bell'),
bicycle: new Product('bicycle','fa-bicycle'),
bone: new Product('bone', 'fa-bone'), bone: new Product('bone', 'fa-bone'),
book: new Product('book', 'fa-book'),
bread: new Product('bread', 'fa-bread-slice'), bread: new Product('bread', 'fa-bread-slice'),
cake: new Product('cake', 'fa-birthday-cake'),
calculator: new Product('calculator', 'fa-calculator'),
calendar: new Product('calendar', 'fa-calendar'),
camera: new Product('camera','fa-camera'),
campAccessories: new Product('campAccessories','fa-campground'),
candyCane: new Product('candy cane', 'fa-candy-cane'), candyCane: new Product('candy cane', 'fa-candy-cane'),
carrot: new Product('carrot', 'fa-carrot'), carrot: new Product('carrot', 'fa-carrot'),
cheese: new Product('cheese', 'fa-cheese') catAccessories: new Product('catAccessories','fa-cat'),
carAccessories: new Product('carAccessories','fa-car'),
cigarettes: new Product('cigarettes', 'fa-smoking'),
chair: new Product('chair', 'fa-chair'),
charger: new Product('charger', 'fa-battery-half'),
cheese: new Product('cheese', 'fa-cheese'),
chess: new Product('chess', 'fa-chess'),
cleaningSupplies: new Product('cleaningSupplies', 'fa-broom'),
cloathesAccessories: new Product('cloathesAccessories','fa-glasses'),
cocktailSupplies: new Product('cocktailSupplies','fa-cocktail'),
coffee: new Product('cofee','fa-coffee'),
contactLenses: new Product('contactLenses', 'fa-eye'),
cookie: new Product('cookie','fa-cookie'),
couch: new Product('couch', 'fa-couch'),
coughSyrop: new Product('coughSyrop', 'fa-lungs'),
cookie: new Product('cookie', 'fa-cookie'),
dictionary: new Product('dictionary', 'fa-language'),
dogAccessories: new Product('dogAccessories','fa-dog'),
drinks: new Product('drinks', 'fa-glass-whiskey'),
drone: new Product('drone','fa-plane'),
drum: new Product('drum', 'fa-drum'),
envelope: new Product('envelope', 'fa-envelope'),
egg: new Product('egg','fa-egg'),
electronicAccessories: new Product('electronicAccessories','fa-bolt'),
eraser: new Product('eraser','fa-eraser'),
extinguisher: new Product('extinguisher','fa-fire'),
firstAid: new Product('firstAid','fa-first-aid'),
fish: new Product('fish','fa-fish'),
gamepad: new Product('gamepad', 'fa-gamepad'),
giftWrapping: new Product('giftWrapping', 'fa-gift'),
glassAccessories: new Product('glassAccessories','fa-wine-glass'),
gps: new Product('gps','fa-street-view'),
guitar: new Product('guitar','fa-guitar'),
hamburger: new Product('hamburger', 'fa-hamburger'),
hammer: new Product('hammer', 'fa-hammer'),
halloweenAccessories: new Product('halloweenAccessories', 'fa-ghost'),
hauntingAccessories: new Product('hauntingAccessories','fa-binoculars'),
headphones: new Product('headphones','fa-headphones'),
highlighter: new Product('highlighter','fa-highlighter'),
homeSecurity: new Product('homeSecurity','fa-key'),
hotdog: new Product('hotdog','fa-hotdog'),
icecream: new Product('icecream','fa-ice-cream'),
insecticide: new Product('insecticide','fa-spider'),
jewelry: new Product('jewelry','fa-gem'),
keyboard: new Product('keyboard', 'fa-keyboard'),
kitchenSupplies: new Product('kitchenSupplies', 'fa-blender'),
laptop: new Product('laptop', 'fa-laptop'),
lemon: new Product('lemon','fa-lemon'),
lightbulb: new Product('lightbulb', 'fa-lightbulb'),
microphone: new Product('microphone', 'fa-microphone'),
mask: new Product('mask', 'fa-head-side-mask'),
monitor: new Product('monitor', 'fa-desktop'),
movingAccessories: new Product('movingAccessories','fa-boxes'),
newbornAccessorries: new Product('newbornAccessorries','fa-baby-carriage'),
newspaper: new Product('newspaper','fa-newspaper'),
paintBrush: new Product('paintBrush','fa-paint-brush'),
paintRoller: new Product('paintRoller', 'fa-paint-roller'),
paper: new Product('paper','fa-paperclip'),
partyAccessories: new Product('partyAccessories','fa-glass-cheers'),
pen: new Product('pen','fa-pen'),
pepper: new Product('pepper','fa-pepper-hot'),
personalSafetyAccessories: new Product('personalSafetyAccessories','fa-fingerprint'),
piggyBank: new Product('piggyBank', 'fa-piggy-bank'),
pills: new Product('pills','fa-pills'),
pizza: new Product('pizza','fa-pizza-slice'),
plants: new Product('plants','fa-seedling'),
printer: new Product('printer','fa-print'),
puzzle: new Product('puzzle', 'fa-puzzle-piece'),
religionAccessories: new Product('religionAccessories','fa-pray'),
ruler: new Product('ruler', 'fa-ruler'),
runningAccessories: new Product('runningAccessories','fa-running'),
sanitizer: new Product('sanitizer', 'fa-spray-can'),
scissors: new Product('scissors', 'fa-cut'),
seeds: new Product('seeds', 'fa-seedling'),
skatingAccessories: new Product('skatingAccessories','fa-skating'),
skiingAccessories: new Product('skiingAccessories','fa-skiing'),
soap: new Product('soap','fa-pump-soap'),
spaAccessories: new Product('spaAccessories','fa-spa'),
sportCloathes: new Product('sportCloathes','fa-futbol'),
stamp: new Product('stamp', 'fa-stamp'),
suitcase: new Product('suitcase', 'fa-suitcase-rolling'),
summerHoliday: new Product('summerHoliday','fa-umbrella-beach'),
sunscreen: new Product('sunscreen','fa-sun'),
swimmingAccessories: new Product('swimmingAccessories','fa-swimmer'),
thermometer: new Product('thermometer', 'fa-thermometer'),
toiletSupplies: new Product('toiletSupplies','fa-toilet-paper'),
tools: new Product('tools','fa-wrench'),
toothpaste: new Product('toothpaste', 'fa-tooth'),
toys: new Product('toys','fa-horse'),
trashBin: new Product('trashBin', 'fa-trash'),
tv: new Product('tv', 'fa-tv'),
umbrella: new Product('umbrella', 'fa-umbrella'),
vinyl: new Product('vinyl', 'fa-record-vinyl'),
volleyballBall: new Product('volleyballBall', 'fa-volleyball-ball'),
wine: new Product('wine','fa-wine-bottle'),
winterCloathes: new Product('winterCloathes','fa-mitten'),
winterHoliday: new Product('winterHoliday','fa-tree')
}; };
} }

116
src/logic/products.tsv Normal file
View File

@ -0,0 +1,116 @@
airFrashener fa-wind
apple fa-apple-alt
babyAccessories fa-baby-carriage
bacon fa-bacon
bandAid fa-band-aid
basketballBall fa-basketball-ball
beer fa-beer
bell fa-bell
bicycle fa-bicycle
bone fa-bone
book fa-book
bread fa-bread-slice
cake fa-birthday-cake
calculator fa-calculator
calendar fa-calendar
camera fa-camera
campAccessories fa-campground
candy cane fa-candy-cane
carrot fa-carrot
catAccessories fa-cat
carAccessories fa-car
cigarettes fa-smoking
chair fa-chair
charger fa-battery-half
cheese fa-cheese
chess fa-chess
cleaningSupplies fa-broom
cloathesAccessories fa-glasses
cocktailSupplies fa-cocktail
cofee fa-coffee
contactLenses fa-eye
cookie fa-cookie
couch fa-couch
coughSyrop fa-lungs
cookie fa-cookie
dictionary fa-language
dogAccessories fa-dog
drinks fa-glass-whiskey
drone fa-plane
drum fa-drum
envelope fa-envelope
egg fa-egg
electronicAccessories fa-bolt
eraser fa-eraser
extinguisher fa-fire
firstAid fa-first-aid
fish fa-fish
gamepad fa-gamepad
giftWrapping fa-gift
glassAccessories fa-wine-glass
gps fa-street-view
guitar fa-guitar
hamburger fa-hamburger
hammer fa-hammer
halloweenAccessories fa-ghost
hauntingAccessories fa-binoculars
headphones fa-headphones
highlighter fa-highlighter
homeSecurity fa-key
hotdog fa-hotdog
icecream fa-ice-cream
insecticide fa-spider
jewelry fa-gem
keyboard fa-keyboard
kitchenSupplies fa-blender
laptop fa-laptop
lemon fa-lemon
lightbulb fa-lightbulb
microphone fa-microphone
mask fa-head-side-mask
monitor fa-desktop
movingAccessories fa-boxes
newbornAccessorries fa-baby-carriage
newspaper fa-newspaper
paintBrush fa-paint-brush
paintRoller fa-paint-roller
paper fa-paperclip
partyAccessories fa-glass-cheers
pen fa-pen
pepper fa-pepper-hot
personalSafetyAccessories fa-fingerprint
piggyBank fa-piggy-bank
pills fa-pills
pizza fa-pizza-slice
plants fa-seedling
printer fa-print
puzzle fa-puzzle-piece
religionAccessories fa-pray
ruler fa-ruler
runningAccessories fa-running
sanitizer fa-spray-can
scissors fa-cut
seeds fa-seedling
skatingAccessories fa-skating
skiingAccessories fa-skiing
soap fa-pump-soap
spaAccessories fa-spa
sportCloathes fa-futbol
stamp fa-stamp
suitcase fa-suitcase-rolling
summerHoliday fa-umbrella-beach
sunscreen fa-sun
swimmingAccessories fa-swimmer
thermometer fa-thermometer
toiletSupplies fa-toilet-paper
tools fa-wrench
toothpaste fa-tooth
toys fa-horse
trashBin fa-trash
tv fa-tv
umbrella fa-umbrella
vinyl fa-record-vinyl
volleyballBall fa-volleyball-ball
wine fa-wine-bottle
winterCloathes fa-mitten
winterHoliday fa-tree
1 airFrashener fa-wind
2 apple fa-apple-alt
3 babyAccessories fa-baby-carriage
4 bacon fa-bacon
5 bandAid fa-band-aid
6 basketballBall fa-basketball-ball
7 beer fa-beer
8 bell fa-bell
9 bicycle fa-bicycle
10 bone fa-bone
11 book fa-book
12 bread fa-bread-slice
13 cake fa-birthday-cake
14 calculator fa-calculator
15 calendar fa-calendar
16 camera fa-camera
17 campAccessories fa-campground
18 candy cane fa-candy-cane
19 carrot fa-carrot
20 catAccessories fa-cat
21 carAccessories fa-car
22 cigarettes fa-smoking
23 chair fa-chair
24 charger fa-battery-half
25 cheese fa-cheese
26 chess fa-chess
27 cleaningSupplies fa-broom
28 cloathesAccessories fa-glasses
29 cocktailSupplies fa-cocktail
30 cofee fa-coffee
31 contactLenses fa-eye
32 cookie fa-cookie
33 couch fa-couch
34 coughSyrop fa-lungs
35 cookie fa-cookie
36 dictionary fa-language
37 dogAccessories fa-dog
38 drinks fa-glass-whiskey
39 drone fa-plane
40 drum fa-drum
41 envelope fa-envelope
42 egg fa-egg
43 electronicAccessories fa-bolt
44 eraser fa-eraser
45 extinguisher fa-fire
46 firstAid fa-first-aid
47 fish fa-fish
48 gamepad fa-gamepad
49 giftWrapping fa-gift
50 glassAccessories fa-wine-glass
51 gps fa-street-view
52 guitar fa-guitar
53 hamburger fa-hamburger
54 hammer fa-hammer
55 halloweenAccessories fa-ghost
56 hauntingAccessories fa-binoculars
57 headphones fa-headphones
58 highlighter fa-highlighter
59 homeSecurity fa-key
60 hotdog fa-hotdog
61 icecream fa-ice-cream
62 insecticide fa-spider
63 jewelry fa-gem
64 keyboard fa-keyboard
65 kitchenSupplies fa-blender
66 laptop fa-laptop
67 lemon fa-lemon
68 lightbulb fa-lightbulb
69 microphone fa-microphone
70 mask fa-head-side-mask
71 monitor fa-desktop
72 movingAccessories fa-boxes
73 newbornAccessorries fa-baby-carriage
74 newspaper fa-newspaper
75 paintBrush fa-paint-brush
76 paintRoller fa-paint-roller
77 paper fa-paperclip
78 partyAccessories fa-glass-cheers
79 pen fa-pen
80 pepper fa-pepper-hot
81 personalSafetyAccessories fa-fingerprint
82 piggyBank fa-piggy-bank
83 pills fa-pills
84 pizza fa-pizza-slice
85 plants fa-seedling
86 printer fa-print
87 puzzle fa-puzzle-piece
88 religionAccessories fa-pray
89 ruler fa-ruler
90 runningAccessories fa-running
91 sanitizer fa-spray-can
92 scissors fa-cut
93 seeds fa-seedling
94 skatingAccessories fa-skating
95 skiingAccessories fa-skiing
96 soap fa-pump-soap
97 spaAccessories fa-spa
98 sportCloathes fa-futbol
99 stamp fa-stamp
100 suitcase fa-suitcase-rolling
101 summerHoliday fa-umbrella-beach
102 sunscreen fa-sun
103 swimmingAccessories fa-swimmer
104 thermometer fa-thermometer
105 toiletSupplies fa-toilet-paper
106 tools fa-wrench
107 toothpaste fa-tooth
108 toys fa-horse
109 trashBin fa-trash
110 tv fa-tv
111 umbrella fa-umbrella
112 vinyl fa-record-vinyl
113 volleyballBall fa-volleyball-ball
114 wine fa-wine-bottle
115 winterCloathes fa-mitten
116 winterHoliday fa-tree