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

Make different card types #3

Closed vsupalov closed 10 years ago

vsupalov commented 11 years ago

For example playcard ratio, with image & text parts

lucasb-eyer commented 11 years ago

The random color cards asset currently breaks for >10 pairs because of the hardcoded 10 in assets.js:19.

Also, I'd feel better if the server generated the colors of the card types, so they are the same for everyone. Although that'd seem to really obfuscate the code. Any ideas?

vsupalov commented 10 years ago

Issue is resolved functionally, but the code is partially incomplete and hacky. Needs some polish before it can be closed. Tilemap card types just default to a too specific armor-tileset object in the client without respecting the specified card size.