make dice game for two players

I am trying to make a double dice game for two player and I made some of it but I don’t know how to write a code for the players and how to add the points for them. Can someone show code? Please???

As the others have said, you won’t get the code just dropped in your lap for a whole project. You could check the Asset store and see if someone will sell you that.

From a qsuedo point of view. You would have 2 cubes (physics box’s attached) and you would need to know their orientation at start and then as you drop them give them a random rotational spin too, then the physics will handle the movement.

When they stop moving at a certain speed, dampen them to stop them moving at all. then read what orientation they are and they are your dice numbers.

as for 2 players over network, check the networking tutorials

and perhaps use less question marks :slight_smile: