Need help with game

Blitz3D Forums/Blitz3D Beginners Area/Need help with game

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I would make something like that:

function count1() : returns the number of dice with a "1" value
function count2() : returns the number of dice with a "2" value
...
and so on

then:

if count1() > 0 and count2() > 0 and count3() > 0 and count4() > 0 then ...

Hope this helps.