theguy0000 Posted February 11, 2007 Share Posted February 11, 2007 (edited) This took me forever... It is the final version of the 1-player game. I'll add multiplayer soon. If you see any other problems, please tell me. Version 1.3 28 March 2007Added - Re-Rolling of dice allowed. This is now a fully functional 1-player game of Yahtzee.Thanks Kandy Man Yahtzee_v1.3.zip ----------------------------- Older Versions Kept for reference Yahtzee_v1.0.zip Yahtzee_v1.1.zip Edited March 28, 2007 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
Hello Me You Posted February 11, 2007 Share Posted February 11, 2007 thank you try to fix the problems Random Link to comment Share on other sites More sharing options...
theguy0000 Posted February 11, 2007 Author Share Posted February 11, 2007 Version 1.111 February 2007Added - "lose a turn" feature so that the game does not get stuck when there are no possible scoresFixed - Full House allowed more than once The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
Rizzet Posted February 11, 2007 Share Posted February 11, 2007 a little example how to get reroll expandcollapse popupFunc _reRollDice() IF $LockDice1 = 0 then $dice1 = Random(1,6,1) ;~ $dice_res[0] = String($dice1&$dice2&$dice3&$dice4&$dice5);dont realy know your script $dice_res[1] = $dice1 Endif IF $LockDice2 = 0 then $dice2 = Random(1,6,1) ;~ $dice_res[0] = String($dice1&$dice2&$dice3&$dice4&$dice5) $dice_res[2] = $dice2 EndIF IF $LockDice3 = 0 Then $dice3 = Random(1,6,1) ;~ $dice_res[0] = String($dice1&$dice2&$dice3&$dice4&$dice5) $dice_res[3] = $dice3 Endif IF $LockDice4 = 0 Then $dice4 = Random(1,6,1) ;~ $dice_res[0] = String($dice1&$dice2&$dice3&$dice4&$dice5) $dice_res[4] = $dice4 Endif IF $LockDice5 = 0 Then $dice5 = Random(1,6,1) ;~ $dice_res[0] = String($dice1&$dice2&$dice3&$dice4&$dice5) $dice_res[5] = $dice5 Endif For $z = 1 To 2 For $zz = 1 To 6 GUICtrlSetImage ($DicePic1, "images\dice"&$zz&".bmp") GUICtrlSetImage ($DicePic2, "images\dice"&$zz&".bmp") GUICtrlSetImage ($DicePic3, "images\dice"&$zz&".bmp") GUICtrlSetImage ($DicePic4, "images\dice"&$zz&".bmp") GUICtrlSetImage ($DicePic5, "images\dice"&$zz&".bmp") Sleep(50) Next Next GUICtrlSetImage ($DicePic1, "images\dice"&$dice1&".bmp") GUICtrlSetImage ($DicePic2, "images\dice"&$dice2&".bmp") GUICtrlSetImage ($DicePic3, "images\dice"&$dice3&".bmp") GUICtrlSetImage ($DicePic4, "images\dice"&$dice4&".bmp") GUICtrlSetImage ($DicePic5, "images\dice"&$dice5&".bmp") EndFunc Link to comment Share on other sites More sharing options...
theguy0000 Posted March 28, 2007 Author Share Posted March 28, 2007 (edited) Version 1.328 March 2007Added - Re-Rolling of dice allowed. This is now a fully functional 1-player game of Yahtzee.Thanks Kandy Mansee first post. Edited March 28, 2007 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 28, 2007 Share Posted March 28, 2007 Hi, not bad. I like the game and I thought of making a new Version of my Yahtzee. Go ahead! So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
theguy0000 Posted March 28, 2007 Author Share Posted March 28, 2007 I'm gonna hopefully add multiplayer soon... The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now