Forums > MaxMSP

Better match object

January 19, 2013 | 1:41 pm

Dear Cycling forum people!

I’ve just finished a sweet project. It’s an interactive gaming table. It’s a digital version of Halli Galli ( a card game ). Some pictures are available on http://www.thomashuster.com/#!projecten/c1t44 ( sorry it’s not in english yet! ).

The entire game in run on 4 arduino’s and max msp. I got a small problem tho.

I’ve got 4 numbers that are variables for the lives of each player ( 4 players ). And when 3 of those players are "0" the patch knows, there is a winner !! And the apropriate actions are made!

I’m using [ match 0 0 0 ] to check when 3 players have "0", However this does not work very well!!
Sometimes when there are only 2 players left it already gives the a bang after [ match 0 0 0 ] Does anyone know a better object for this?

thanks in advance! much love, sorry for the bad english!

greetings!


January 19, 2013 | 3:40 pm

Merci beaucoup monsieur Nicolas Danet!

That was exactly what i was looking for! I used [join 4] to put in a message and voila. It works like a charm!

thanks again!

Bonne journée!


January 19, 2013 | 4:19 pm

you need to reset [match] with every new input or it might match 3 zeros as a combination of new/previous input.


January 19, 2013 | 4:36 pm

yes, that seemed to be the problem. but the solution Nicolas gave me works great too.

thanks anyway tho


Viewing 4 posts - 1 through 4 (of 4 total)