Share your repls and programming experiences

← Back to all posts
Game of Za simulator

This is a schoolkids' game where i come from. Enjoy the fun of a time past your consciousness when you could not worry about stuff. With crosskill, strictly 2 player, no hide, no tiger, classic old vanilla za.

Joshua18 (30)

Hey Hi Ryan, you could use a loop to finish your game and make it more efficient.

ash15khng (691)

Why is 0.7 a dead hand?


@ash15khng look at the algorithm it uses modulo differences of 1 to determine win or lose. A dead hand should not have a modulo difference of 1 with anything thus i have to make it a decimal. The dead number for player is 0.3 and the dead number for computer is 0.7, to avoid dead hands from killing each other.