lucasb-eyer / mwdns

Memory Which Does Not Suck - play turn-based and realtime memory with your friends in the browser.
12 stars 2 forks source link

Card layout #9

Closed vsupalov closed 11 years ago

vsupalov commented 11 years ago

Make the server find a proper card layout / rotations if the players don't want to start with a cardstack in the center.

lucasb-eyer commented 11 years ago

Now it's a grid. We could add some degree of randomness and play with that amount, clamped to (0,1) to keep it on board.

lucasb-eyer commented 11 years ago

Currently broken with anything but 10 pairs.

lucasb-eyer commented 11 years ago

I think/hope I improved it by adding slight randomness for both position and orientation. 15 looks fine now, but 20 is still very packed. Probably the cards are just too big/the field too small for that. That makes me think of:

vsupalov commented 11 years ago

Both of your ideas should be implemented now, asset parsing on the client side still needs to be done though.

lucasb-eyer commented 11 years ago

Closing this because we have issue #3 for the asset parsing.