Neo TeAm Forum

NEO Coding Competitions => NEO Summer Coding Compo 2009 => NEO Compo 2009 => The past Neo Coding Compos => the NDS GAME zone - Aug.2009 => Topic started by: M. Lucanius on August 11, 2009, 08:57:00 PM

Title: DSDice
Post by: M. Lucanius on August 11, 2009, 08:57:00 PM
Nickname: M. Lucanius
Project name : DSDice
From : US
Division : NDS/GBA Game
Original entry : YES
Support Motion : NO
In last NEO Compo this project have won in the top 10 : NO

Description:
A Yahtzee clone with, hopefully, a good bit of extra options...

Box art:
(http://home.earthlink.net/~jwmarikle/sitebuildercontent/sitebuilderpictures/dsdice.jpg)

download (http://forum.palib.info/index.php?action=dlattach;topic=7697.0;attach=2264) formatted version for DSision

Screen shots:

(http://home.earthlink.net/~jwmarikle/sitebuildercontent/sitebuilderpictures/scrsh1.jpg)  (http://home.earthlink.net/~jwmarikle/sitebuildercontent/sitebuilderpictures/scrsh2.jpg)

(http://home.earthlink.net/~jwmarikle/sitebuildercontent/sitebuilderpictures/scrsh3.jpg)  (http://home.earthlink.net/~jwmarikle/sitebuildercontent/sitebuilderpictures/scrsh3.jpg)

 Features:

     * complete game with accurate rules.

     * high scores for up to 7 places.

     * aesthetic appeal... hopefully

     * re-playability.

 Known bugs:

     * can only replay about 30 times... then it crashes. * I hope

     * only allows 7 high scores.

     * sometimes confuses the selection boxes.

 What still needs worked on (v0.2):

     * sound * too much work. not needed.

     * themes (only proof of concept for now... theme 2 is incomplete)

(work no longer in progress)

download (http://forum.palib.info/index.php?action=dlattach;topic=7697.0;attach=2290) v1.2
Title: Re: DSDice
Post by: LaPatateInc on August 11, 2009, 10:54:40 PM
Seems really nice. I love Yahtzee =D

Wow ! It's really nice ! It will be awesome when completed.
For now, could you just light up a bit the dice when you click them ? It's a tad too hard to see if you clicked it.
Title: Re: DSDice
Post by: Gaz on August 12, 2009, 02:32:19 AM
It's funny you should do a clone of Yahtzee  ;) I entered a Yahtzee clone in the neo-comp last year, it was called 5 Dice  :)

The graphics are nice; has a Web 2.0 feel to it.  The interface is a little hard to use; but I managed to get there.  I am not sure I like the holding of the dice after you have rolled; as you have to de-select them if you change your mind and go for another score type.

I have noticed a bug in the scoring, 3 of a kind, my score was 27. I had 4 sixes in my hand, but already had 4 of a kind.  When I selected 3 of a kind, the score showed up as 27 instead of 18.





Title: Re: DSDice
Post by: M. Lucanius on August 12, 2009, 08:45:20 AM
Thanks for the feedback.  :)

@Gaz

It's funny you should say it's funny I should make a clone of Yahtzee. 8)

I have it on my PDA and so I got to thinking, someone should make a clone of it for the DS. It just so happens that halfway through my project I actually decided to check and see if someone had. Ironically, when I did look, The one I found was yours, Gaz.

As for the die selection... perhaps a user preference in the options menu in the future?

Thank you for testing my game, by the way. However, I think the scoring is accurate. I am aware of the existence of other versions of the rules but the source I used was www.yahtzee.org.uk (http://www.yahtzee.org.uk/rules.html). In this version, a three and a four of a kind score the total of the dice. If it were to score only the set of a kind, your score of 27 would be 24 instead. Therefore, and at least according to the site I used, you should have scored the four sixes plus the fifth die (a three I assume).

By the way, which part of the interface was not so good?
Thanks again for your feedback :)

@LaPatateInc

Thanks. Which set of dice were you referring to? Theme 1, 2, or 3?
1 is the original, 2 is incomplete, and 3 is the best... in my opinion. :)
I don't expect the themes to have all of the kinks ironed out for quite a while, but I'll keep working on it.
Title: Re: DSDice
Post by: LaPatateInc on August 12, 2009, 08:47:40 AM
In facts, all theme are a bit hard to see which one you picked. Maybe put a color more different, as Red or Green.
Title: Re: DSDice
Post by: M. Lucanius on August 12, 2009, 08:53:01 AM
Quote from: LaPatateInc
In facts, all theme are a bit hard to see which one you picked. Maybe put a color more different, as Red or Green.
~sm-34.gif~
lol. Yeah I guess that's true. I guess I like the glossy black look too much. I think I might experiment with green.
Title: Re: DSDice
Post by: LaPatateInc on August 12, 2009, 08:55:07 AM
~sm-34.gif~
lol. Yeah I guess that's true. I guess I like the glossy black look too much. I think I might experiment with green.

What about putting green with those you want to keep and red to those you want to throw away ? It would be easier for the eye to play :)
Title: Re: DSDice
Post by: M. Lucanius on August 12, 2009, 09:02:42 AM
Quote from: LaPatateInc
... red to those you want to throw away ?
I'm sorry, I don't understand what you mean.  ::sm-16.gif::
Title: Re: DSDice
Post by: LaPatateInc on August 12, 2009, 09:05:07 AM
I was not clear enough, sorry.
You roll the dice, then chose which one you want to reroll. The others, you keep them right ? The ones you want to keep would have a green "shadow" and the ones you want to reroll would have a red shadow. It would be easier to see which one you want to keep and which one you want to reroll.
Clearer ? =D
Title: Re: DSDice
Post by: M. Lucanius on August 12, 2009, 09:12:43 AM
Wow! That's ingenious! I'll have to work on that and add it as a menu option... may take me a few days though.

thanks!  ::sm-29.gif::
Title: Re: DSDice
Post by: Gaz on August 12, 2009, 09:14:45 AM
I will reply on this tomoz, a little late here  ::sm-01::
Title: Re: DSDice
Post by: M. Lucanius on August 12, 2009, 11:14:32 AM
oops. Um... the dummy 123 scores weren't supposed to be in there.  :-[

updated
Title: Re: DSDice
Post by: Gaz on August 12, 2009, 11:40:02 PM
The scoring for 3ofakind, 4ofakind is incorrect; you add up the values of the 3/4 dice.

http://en.wikipedia.org/wiki/Yahtzee (http://en.wikipedia.org/wiki/Yahtzee)

The interface was the Rolls on the dice, I was a little confused at first, to how this was working; Then I realised you where counting down the Rolls, 3 , 2, then 1.  Probably with my own version where it starts from Roll 1, then 2 / 3 is why I was confused.

I liked the 2nd skin  8)

The selection of the scores were a little confusing too; I liked the idea of showing the score for each selection; but the dots where confusing to me at first, instruction are needed.

My 5 Dice, upper scoring is slightly different to the orginal Yahtzee  ::sm-02:: Oh well, I will have it as a feature :D
Title: Re: DSDice
Post by: M. Lucanius on August 14, 2009, 07:34:58 AM
Quote from: Gaz
The scoring for 3ofakind, 4ofakind is incorrect; you add up the values of the 3/4 dice.

http://en.wikipedia.org/wiki/Yahtzee (http://en.wikipedia.org/wiki/Yahtzee)

Um... but the site you referred to agrees with my scoring.

It says

Three-Of-A-Kind: At least three dice showing the same face = Sum of all dice

Four-Of-A-Kind: At least four dice showing the same face = Sum of all dice

How am I incorrect?
Title: Re: DSDice
Post by: Gaz on August 14, 2009, 07:56:04 AM
When it says (Sum Of All Dice) on 3ofakind / 4ofakind, I think it means Sum of all Equal dice.

Looking further down it says:-

Quote
Succeeding Yahtzees can be scored to the other categories except Two Pair, Full House, and Small Straight/Large Straight under the same scoring restrictions (for example, a Yahtzee of sixes can only score 12 under One Pair, 18 under Three-of-a-Kind, 24 under Four-of-a-Kind, and 30 under either Sixes or Chance.) There are no Yahtzee bonuses.

I think I am right on this?
Title: Re: DSDice
Post by: M. Lucanius on August 14, 2009, 08:23:57 AM
Quote from: Gaz
When it says (Sum Of All Dice) on 3ofakind / 4ofakind, I think it means Sum of all Equal dice.

It also says "sum of all dice" for chance...

But your are right in part. I went back and looked...

A more complete quote would be
Quote from: wikipedia
Swedish rules for the game follow a slightly different set of scoring categories and rules in scoring. This Swedish variation is used mainly in Scandinavian and Finnish versions of the game....

In a similar vein, the Three-of-a-Kind and Four-of-a-Kind categories are scored by the total of the needed number of same-faced dice. (For instance, 5-5-5-5-6 will score 20 points in Four-of-a-Kind and 15 points in Three-of-a-Kind; under standard rules, the same combination would give the player 26 points in either category.)

Also, the traditional version does not have a Two Pair.

You are right, but for a different set of valid rules... the Swedish ones.  :)

EDIT:

PS A new version is out with added preferences thanks to LaPatateInc and Gaz.

Thanks!  ::sm-29.gif::
Title: Re: DSDice
Post by: Conle on August 14, 2009, 02:35:54 PM
Cool graphics!
Title: Re: DSDice
Post by: M. Lucanius on August 14, 2009, 11:16:37 PM
Alright, I have to announce that the save function is yet again giving me trouble. A bug is causing the game to be playable for only three times at a time. This bug, though annoying, doesn't make the game unplayable; it simply means that after three rounds, the game has to be reset.
Title: Re: DSDice
Post by: LaPatateInc on August 15, 2009, 06:06:38 AM
Try to reset Sprites and Bg after each game ?
Are you using Palib ? :

PA_ResetSpriteSys();
You then need to reload all sprites.

PA_DeleteBg(screen,BG number);
It may be good also to clean your BG and reload them.

At least, that's what I do when the main menu load, the Game load, and when anything Reload.
In fact, I have a Reinit function which is called right after loading palletes and Initiating things. It is recalled anytime by writing with "reinit()". It works pretty good that way, even if I have a 8142x4096 pixels Bg ; )
Title: Re: DSDice
Post by: M. Lucanius on August 15, 2009, 11:36:26 AM
I use those all the time (probably too much). I think I know where the problem lies. I need to reset a char. When I change it, it seems to retain the previous entry resulting in the much dreaded buffer overrun.

Does anyone know how to do this?
Title: Re: DSDice
Post by: M. Lucanius on August 16, 2009, 10:01:57 AM
Yes...Yes yes yes...... YESSSSSSS! Finally! The complete version is out, v1.0! It supports saving of high scores (though still only up to seven), three complete themes, and several cool features. It is in fact the full version and fully playable. I will probably get bored within the next couple of days and update it some more, but this version is complete. The colors are done, but if anyone has any suggestions, I'd love to hear from you. I think I've ironed out the critical kinks, but if you see a bug, please post. Some minor bugs are known and for those I will probably do little. Enjoy!

 
~sm-36.gif~  :) ~sm-36.gif~

 v1.0 (http://www.neoflash.com/forum/index.php/topic,5679.msg39777.html#msg39777)
Title: Re: DSDice
Post by: M. Lucanius on August 17, 2009, 04:19:19 PM
Update: version 1.1

change log:

 * Fixed scoring bug for yahtzee. nature: undisclosed  :-[

 * fixed cursor "dot" bug.

 * Added "erase scores" option.

 * added save function for user prefs.

 * EDIT: added high-score-placing notification at name entry.

v1.1 (http://forum.palib.info/index.php?action=dlattach;topic=7697.0;attach=2285)
Title: Re: DSDice
Post by: M. Lucanius on August 20, 2009, 04:32:24 PM
3:29 AM on the last day  ::sm-01::

Update: version 1.2

change log:

 * added a better "new high score" screen.

 * added rule book.

Not really a whole lot, but this is the final release for the compo. I've been on vacation for most of the compo and have had access to legal Wi-Fi, but that is changing tomorrow. Unless I can hit a coffee shop or something, I will not be able to access  the internet for eight or so days. Do comment, though; I will be able to respond after I get back. Lastly, I think it would be neat if testers and reviewers would post there best scores here in this thread. Reviewing these scores would help me gauge how well the game is working.

:) ~sm-36.gif~ :)

EDIT: I'll be unavailable sometime in the late morning. I'll try to check in before that.


v1.2 (http://forum.palib.info/index.php?action=dlattach;topic=7697.0;attach=2290)
Title: Re: DSDice
Post by: M. Lucanius on September 12, 2009, 12:51:09 AM
Minor note here... because the compo is over now I need to state that the blue screen of death in my game is a joke... not that anyone seems to have actually come across it...