sneakyhobbitses / babbeys-first-project

my kitty site
0 stars 0 forks source link

Tamagotchi Generation #1

Open sneakyhobbitses opened 3 years ago

sneakyhobbitses commented 3 years ago

As a user I should be able to generate a starter tamagotchi that pulls from a small pool of images.

This could be done with a prompt or questions or could be fully random.

sneakyhobbitses commented 3 years ago

right now i'm thinking of doing a few cute lil gift boxes, & the user will receive a different tama depending on which box is selected.

kulanah commented 3 years ago

I like that plan, that keeps it fairly simple. Do you think it should be deterministic?

sneakyhobbitses commented 3 years ago

for simplicity's sake i think it should be.... but on the other hand maybe i push myself to randomize it?

kulanah commented 3 years ago

try googling "javascript random number".

I also don't think there's anything wrong with starting deterministic and later evolving it to random. Or even keeping it to one for now.

sneakyhobbitses commented 3 years ago

for now i've decided to just use one pet - on click the user can now get a smol pink whale from the egg

sneakyhobbitses commented 3 years ago
sneakyhobbitses commented 3 years ago

could store gifs of babbeys in an array, and on click a random babbey is born using math.random ???????