Skip to content

Commit

Permalink
v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLavaBlock committed Dec 10, 2018
1 parent bca291a commit 799f0d9
Show file tree
Hide file tree
Showing 32 changed files with 2,655 additions and 268 deletions.
748 changes: 681 additions & 67 deletions Game.gd

Large diffs are not rendered by default.

2,064 changes: 1,940 additions & 124 deletions Game.tscn

Large diffs are not rendered by default.

36 changes: 34 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,34 @@
# Dice-Pig
Dice Pig is a simple dice game made with Godot Engine
[![Dice-Pig Screenshot1](doc/screenshot1.png)](https://youtu.be/gpEOv_URsuk)

**Dice Pig** is a simple dice game made with [Godot Engine](https://godotengine.org) | Free to Play: [itch.io](https://thelavablock.itch.io/dice-pig)

![Dice-Pig Screenshot2](doc/screenshot2.png)

**Dice Pig** is a deceptively simple dice game that anyone can learn in a snap:

**Step 1: Roll the die.**

If you roll a one, you lose all the points you accumulated during that turn, and you lose your turn.

**Step 2:**

Continue rolling the die until you're happy with the number of points you've scored. Then, "hold" by handing the die over to your opponent, and track all points earned during your turn.

**Step 3:**

Reach 100 points first and win the round.

![Dice-Pig Screenshot3](doc/screenshot3.png)

**Tip:**

Knowing when to stop rolling and end your turn is the key to winning this game. It's an exercise in deciding between gut instinct and greed.


You are the pig on the left and you play against 9 individual animals (rat, cat, rabbit, dog, monkey, bear, cow and two specials). Get a high score!

You have 3 lives. (Get extra life by playing risky)

![Dice-Pig Screenshot4](doc/screenshot4.png)


3 changes: 0 additions & 3 deletions assets/image/arrow.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/arrow.png-77eb76099e6587f59b22ffbd6a1e950b.stex"
[deps]

source_file="res://assets/image/arrow.png"
source_md5="1415545393eb1c0a021480d218697a42"

dest_files=[ "res://.import/arrow.png-77eb76099e6587f59b22ffbd6a1e950b.stex" ]
dest_md5="273a0853225e6b2908f74d0fbd79af72"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/bear.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/bear.png-6fd8d28e3ec19b176dfc0efd08d8aa66.stex"
[deps]

source_file="res://assets/image/bear.png"
source_md5="59ecb1d2df29a6311672ef0de467510b"

dest_files=[ "res://.import/bear.png-6fd8d28e3ec19b176dfc0efd08d8aa66.stex" ]
dest_md5="f7ba0304e12b45fa4e0259b566157a32"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/cat.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/cat.png-4d7e392a066f0206ea65c5901d9e1722.stex"
[deps]

source_file="res://assets/image/cat.png"
source_md5="2d9a785c9253afbb726671e762b90600"

dest_files=[ "res://.import/cat.png-4d7e392a066f0206ea65c5901d9e1722.stex" ]
dest_md5="d5d027e7ff753352b5783a1b4e039723"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/comic.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/comic.png-0a5d6e550c6154ecd72c57768f627e34.stex"
[deps]

source_file="res://assets/image/comic.png"
source_md5="f00a2fe35ec66c775ccf7c47a01e08c0"

dest_files=[ "res://.import/comic.png-0a5d6e550c6154ecd72c57768f627e34.stex" ]
dest_md5="06de51f6e10b241a34e771f1f12cdb4c"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/cow.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/cow.png-0a165b7e00c8a1976c9bfe8e45cc005c.stex"
[deps]

source_file="res://assets/image/cow.png"
source_md5="d67ef2a292c038202ed4ac7a8eb7bd94"

dest_files=[ "res://.import/cow.png-0a165b7e00c8a1976c9bfe8e45cc005c.stex" ]
dest_md5="0fe6e2ce6cf1083b5ac5bf865625d2df"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/dices.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/dices.png-df6f738ef18dde5ea9c00155210a6c72.stex"
[deps]

source_file="res://assets/image/dices.png"
source_md5="30a5d4e5349f9e8a928bb3f83da5af94"

dest_files=[ "res://.import/dices.png-df6f738ef18dde5ea9c00155210a6c72.stex" ]
dest_md5="e1b49415f6fd20c99c80ec8d5545bd1f"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/dog.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/dog.png-df8fbb38937888a1e03a751cf108c57b.stex"
[deps]

source_file="res://assets/image/dog.png"
source_md5="7022ad4e080ff127332d460fb30f6717"

dest_files=[ "res://.import/dog.png-df8fbb38937888a1e03a751cf108c57b.stex" ]
dest_md5="273bd7c7cfafb0456b391fec1973bea0"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/dragon.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/dragon.png-b66b1f479f4df9de3442228b66f24094.stex"
[deps]

source_file="res://assets/image/dragon.png"
source_md5="814e4a08f6588c809462853b1125d7bc"

dest_files=[ "res://.import/dragon.png-b66b1f479f4df9de3442228b66f24094.stex" ]
dest_md5="1467630c086fba60cd9e85afa6d9fb34"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/menu.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/menu.png-879cb095b09c0aa304f7831118170b0a.stex"
[deps]

source_file="res://assets/image/menu.png"
source_md5="16b4b5c9d92d0eef03f4b9a3f14cc46d"

dest_files=[ "res://.import/menu.png-879cb095b09c0aa304f7831118170b0a.stex" ]
dest_md5="72d35332fd909a72559d40a6116a4c47"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/monkey.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/monkey.png-2c582750e86a5506c95c2e084cf67ae2.stex"
[deps]

source_file="res://assets/image/monkey.png"
source_md5="c23277cc8f5907ff682acb2dfa886318"

dest_files=[ "res://.import/monkey.png-2c582750e86a5506c95c2e084cf67ae2.stex" ]
dest_md5="49412d2f7cf2cf5f8b55fe1a3a6608ed"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/pig.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/pig.png-275b3a4d7163563050ab4b7088f643ef.stex"
[deps]

source_file="res://assets/image/pig.png"
source_md5="af0d67e8a98bcb7778f1417f98ce8573"

dest_files=[ "res://.import/pig.png-275b3a4d7163563050ab4b7088f643ef.stex" ]
dest_md5="ee9f8c6a8c75ee9076a85375362acde6"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/rabbit.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/rabbit.png-b3e2663326917352a7e066a359cb9614.stex"
[deps]

source_file="res://assets/image/rabbit.png"
source_md5="75146e318324a1e2172022538259dab7"

dest_files=[ "res://.import/rabbit.png-b3e2663326917352a7e066a359cb9614.stex" ]
dest_md5="b81a567afae3e614924d0d17f9d60c4c"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/rat.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/rat.png-4482f899218f27487a4cd80a01c1e721.stex"
[deps]

source_file="res://assets/image/rat.png"
source_md5="f3c5a7bcc3fee4b1bf30a07b7a30fcdf"

dest_files=[ "res://.import/rat.png-4482f899218f27487a4cd80a01c1e721.stex" ]
dest_md5="a340c64122b6cf4aeed4165eafdab890"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/score.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/score.png-f2f766afa9bc4becc3a75be54cedabb0.stex"
[deps]

source_file="res://assets/image/score.png"
source_md5="563787e1248292ae8854b4f4779066bb"

dest_files=[ "res://.import/score.png-f2f766afa9bc4becc3a75be54cedabb0.stex" ]
dest_md5="561641b486e84d2510e41a3707918082"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/splashscreen.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/splashscreen.png-442a914c4eb338ca9dcb29356b2c1460.stex"
[deps]

source_file="res://assets/image/splashscreen.png"
source_md5="8b3e8735dd8c38c5a788fd6bed59f242"

dest_files=[ "res://.import/splashscreen.png-442a914c4eb338ca9dcb29356b2c1460.stex" ]
dest_md5="4f80e335cd40c7d7b724d35443962f12"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/wood.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/wood.png-fc1f7ff49aa363346d51fe6d62429aea.stex"
[deps]

source_file="res://assets/image/wood.png"
source_md5="d2780b4191e6195c211233b01f8e25f3"

dest_files=[ "res://.import/wood.png-fc1f7ff49aa363346d51fe6d62429aea.stex" ]
dest_md5="65610f18247060333286dd4be7c6bedf"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/image/wood2.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/wood2.png-daecabdc3899adb7393d437e445f3793.stex"
[deps]

source_file="res://assets/image/wood2.png"
source_md5="efc10c8ead2b1b81959b06379317a738"

dest_files=[ "res://.import/wood2.png-daecabdc3899adb7393d437e445f3793.stex" ]
dest_md5="e9c044a489c1a676cd5e60dfc265a6c4"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/sound/dice1.wav.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/dice1.wav-fc52aaa3b7e1e96d67a7cc8fea12bd8a.sample"
[deps]

source_file="res://assets/sound/dice1.wav"
source_md5="33151d6920699fc05568dd7fe81f2d08"

dest_files=[ "res://.import/dice1.wav-fc52aaa3b7e1e96d67a7cc8fea12bd8a.sample" ]
dest_md5="79ec2cf6745650880a612dfdd61d7b5e"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/sound/dice2.wav.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/dice2.wav-e621da2bddad3ed326fb1f304bd6ab8b.sample"
[deps]

source_file="res://assets/sound/dice2.wav"
source_md5="641d9eb78e38b71fb2c3da3b9ac0284c"

dest_files=[ "res://.import/dice2.wav-e621da2bddad3ed326fb1f304bd6ab8b.sample" ]
dest_md5="5c5517bc4f42557f816fc9c8f8e9b0b9"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/sound/dice3.wav.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/dice3.wav-2ee88686605e2f5dfd792bd2c2808323.sample"
[deps]

source_file="res://assets/sound/dice3.wav"
source_md5="671851c3259d1af96ee7e947c2fb1c3b"

dest_files=[ "res://.import/dice3.wav-2ee88686605e2f5dfd792bd2c2808323.sample" ]
dest_md5="8728f9cca2ded291161a955772f777bc"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/sound/dice4.wav.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/dice4.wav-17b8375cea833ad6c3a2e1324329f5ab.sample"
[deps]

source_file="res://assets/sound/dice4.wav"
source_md5="81d004a0d92a4b098e1203b70a7120df"

dest_files=[ "res://.import/dice4.wav-17b8375cea833ad6c3a2e1324329f5ab.sample" ]
dest_md5="f679fe1b38d193d35ded0ce81923d2f3"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/sound/hold.wav.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/hold.wav-367f92c3b4f60bc509e8e313576506f7.sample"
[deps]

source_file="res://assets/sound/hold.wav"
source_md5="4dbfb496ca0424237ed0dbaf4e34dcb8"

dest_files=[ "res://.import/hold.wav-367f92c3b4f60bc509e8e313576506f7.sample" ]
dest_md5="70d7a411def4c6df9f2b64356ce2e84b"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/sound/music.ogg.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/music.ogg-165ece032a61ed7e5da15262a609cba3.oggstr"
[deps]

source_file="res://assets/sound/music.ogg"
source_md5="b8505cbc09301348c4b039556251c082"

dest_files=[ "res://.import/music.ogg-165ece032a61ed7e5da15262a609cba3.oggstr" ]
dest_md5="d2b4ed5417b975e570a9d40d7d9f54b1"

[params]

Expand Down
3 changes: 0 additions & 3 deletions assets/sound/pig.wav.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/pig.wav-f376ddcf52f36907b4fdf6d91df14652.sample"
[deps]

source_file="res://assets/sound/pig.wav"
source_md5="21f115232035c3830106b01aa44d9dfc"

dest_files=[ "res://.import/pig.wav-f376ddcf52f36907b4fdf6d91df14652.sample" ]
dest_md5="5e15ca87ad18c862a83c353f2e8432cc"

[params]

Expand Down
Binary file added doc/screenshot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshot2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshot3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshot4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions icon.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
[deps]

source_file="res://icon.png"
source_md5="59ddd5f459568d6e8b09632bbbedff87"

dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
dest_md5="7e316fb862aa80d8760084096a4aa4a7"

[params]

Expand Down

0 comments on commit 799f0d9

Please sign in to comment.