help with first game project . spin a reel

hi . i wanted to make my first project.

i have loaded 8 pngs with fruit images .

i want to put them in a vertical 2d reel that spins and stops displaying 3 random fruits on the reel.

the reel should display 3 tiles from a total of 64.

i dont know where to start.

i want to do 2 things:

  1. create a grid of 5x3 and have fruits displayed in this grid at random and a way for me to number and detect the tiles so that i can have matching lines of same fruit detected

so something like if tile A1 B1 C1 D1 E1 have fruit banana then it should detect

  1. create a reel holding 64 images in vertical order holding fruit images in 150px x 150px tiles and make it spin vertically stopping to show 3 fruit images. and the program to be able to detect which fruit is on which tile and which 3 are being displayed on the reel.

i just want someone to point me in the right direction of which documentation api i should use for the easiest way to do this.

like maybe the api for grouping sprites, randomizing, making tiles, detection, spinning the images by vertically moving… i just want to know what API i can use as i am new to phaser and js