kayooliveira / plinko-game

This game is a version of the game Plinko, here, you start with 100PPs (plinko points) and you can bet your points to earn more based on the multipliers in the bottom of game.
https://www.plinko.kayooliveira.com
61 stars 34 forks source link

Can you give me an example env file to be able to run this locally? #5

Closed matlirman closed 9 months ago

matlirman commented 10 months ago

A sample env file would go a long way in trying to run this locally and improve upon the designs a bit!

Also, is it possible to increase the size of the whole board at once or will that ruin the physics behind it?

matlirman commented 10 months ago

const firebaseConfig = { apiKey: import.meta.env.VITE_FIREBASE_API_KEY!, authDomain: import.meta.env.VITE_FIREBASE_AUTH_DOMAIN!, projectId: 'plinko-balls', storageBucket: 'plinko-balls.appspot.com', messagingSenderId: '203383280650', appId: import.meta.env.VITE_FIREBASE_APP_ID!, measurementId: 'G-4W19TNHHXZ' }

apiKey authDomain appId

are all these directly accessible from firebase?

kayooliveira commented 9 months ago

are all these directly accessible from firebase?

Yes, all on your firebase app config.

kayooliveira commented 9 months ago

Also, is it possible to increase the size of the whole board at once or will that ruin the physics behind it?

To increase the size of the board, you must pay attention to changing the size of the ball, pins and walls, the physics must only be changed if you make changes that are too big.