This is a dice rolling game for 1 to 4 players, with pigs substituting for the dice. The game is played by clicking the ROLL and PASS buttons - no keyboard necessary. Click the GREEN FLAG to start, then use the NumPlayers slider at top right to choose the number of players before pushing the ROLL button to begin the game. That's really all you need to know - read on for more details if you want, or just start playing. Player 1 goes first by pushing the ROLL button, and may keep rolling as long as the ROLL button remains above p1_score. Points from the roll are added to the points box at top left, and not transferred to the player's score until that player's turn ends. When the ROLL button moves above the p2_score it becomes the 2nd Player's turn, etc. When there are points in the box at upper left, a PASS button appears. The player then has the choice of clicking PASS instead of ROLL. When PASS is clicked, all Points in the points box are transferred to the current player's score and that player's turn. (The same thing happens if the player clicks ROLL and the result is PIG OUT.) SUMMARY OF RESULTS: PIG OUT (? points) - both pigs land on their sides but not matching. When this happens, all accumulated points are added to the player's score. This ends the current turn. (This is exactly the same as clicking the PASS button.) SIDER (1 point) - the pigs land on the matching sides (both left or both right). HOOFER (5 points) - one pig lands on its feet, and the other on its side. RAZORBACK (5 points) - one pig lands on its feet, and the other on its side. SNOUTER (10 points) - one pig lands on its snout and front feet, and the other on its side. LEANING JOWLER (15 points) - one pig lands on its jowl and one front foot, and the other pig lands on its side. DOUBLES - the scores for SIDER, RAZORBACK, SNOUTER and LEANING JOWLER are multiplied by 4 if both pigs are in the identical position. MIXED COMBO - the scores for SIDER, RAZORBACK, SNOUTER and LEANING JOWLER are added together if both pigs are in these positions. (In other words, no pigs on their sides.) MAKIN' BACON - the two pigs are touching after the roll, regardless of their positions (with one exception: see PIGGYBACK below). When the pigs are MAKIN' BACON, all points in the current turn box are discarded and it becomes the next player's turn. PIGGYBACK - the worst position of all (very rare). This occurs when both pigs are in the HOOFER position, but one is standing on the other's back. In this case, all points in the current turn box are lost, and the active player is out of the game! The turn passes to the next player.
I'd like to thank whizzy27, apelaide and especially bigfoot3o for play testing the game before I shared. Thanks guys! The inspiration for this project was an old dice game called Pigmania, which was re-released over the years under various names. I've made some changes, but the general idea comes from there. I drew the pigs myself (not much of an artist, am I?), but the rest of the images are from the Scratch libraries. I made the sounds (dice rattling and pig snorts). The code is all mine, roughly based on a previous version I created using C++. I'll be more than happy to see people make remixes or borrow code; all I ask is that you give me credit if you do. Have fun - I hope you like the game! Update: my ace play tester bigfoot3o spotted a bug in the messaging after a piggyback. Fixed now.