Results 1 to 5 of 5

Thread: [COMPLETE] (Program) Yahtzee

  1. #1
    In a galaxy far far away beele's Avatar
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    743

    Code [COMPLETE] (Program) Yahtzee

    Hey

    It's been a while since I've done anything here, so here I am

    I've been busy with school the past few months so I haven't been up to finishing some halo stuff (but I will this summer). For object oriented programming we had to make a small game in groups of two persons. I and a friend a mine decided to go for yahtzee.



    The program is made in eclipse, for use with the JRE (java runtime environment). http://www.java.com/en/download/manual.jsp go here if you have problems after running the installation (game wil not start), download and install the first link on that page.

    The source code is included with the installation and is placed in the installation folder in the src directory, you're free to use any of it, but give credit to kevin and marc . It may not be the best written code of all time, but I'm still learning, and thought that I and my friend did a good job with the program. (so did the teacher ).

    Notes:
    - RUN THE PROGRAM AS ADMIN, otherwise the highscores will not work (for vista and 7 users).
    - the installer package should be in english, but I couldn't test it since the program used to create the msi file, would not let me delete the default dutch language .
    - I translated the program very fast, so there could be some errors in it
    - there is one small bug in the code, when you end your game, some graphical glitches may occer on the roll again button, but these will go away when you start a new game.
    - The background of the game was made by marc and me, and quickly rendered with his core I7.

    DOWNLOAD: http://www.beeles-place.be/scrnsvr_a...zee(EN-US).msi
    SOURCE (PDF):http://www.beeles-place.be/leden/Source.pdf =>source from the dutch version, no english GUI!


    EDIT: I noticed I forgot to translate "beurt" it means "turn" in english, will update when I get the time for it
    EDIT2: fixed above.
    Last edited by beele; June 5th, 2009 at 10:26 AM.
    Reply With Quote

  2. #2
    HA10 Limited's Avatar
    Join Date
    Sep 2006
    Location
    England
    Posts
    7,800

    Re: [Program] yahtzee

    I havent tested, but props to you for making it in Java. I cant stand Java and developing it in so I feel your pain.
    Reply With Quote

  3. #3
    In a galaxy far far away beele's Avatar
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    743

    Re: [Program] yahtzee

    Quote Originally Posted by Limited View Post
    I havent tested, but props to you for making it in Java. I cant stand Java and developing it in so I feel your pain.
    Especially when making a decent GUI (or trying to make one), I hate javaj ust for how hard it is to make a good working GUI.
    Reply With Quote

  4. #4
    HA10 Limited's Avatar
    Join Date
    Sep 2006
    Location
    England
    Posts
    7,800

    Re: [Program] yahtzee

    Yup definitely. Sadly I'm still not done with mandatory Java learning, although next year it will be more based on mobile phones so it will be more interesting.

    I played the game, I dont fully understand the game Yahtzee, but I read your instructions which helped a bit.

    Nice work on the game though, is it swing?

    Edit. Why exactly did it have to get installed lol? Was that a requirement of your problem statement?
    Last edited by Limited; June 6th, 2009 at 09:35 AM.
    Reply With Quote

  5. #5
    In a galaxy far far away beele's Avatar
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    743

    Re: [Program] yahtzee

    Quote Originally Posted by Limited View Post
    Yup definitely. Sadly I'm still not done with mandatory Java learning, although next year it will be more based on mobile phones so it will be more interesting.

    I played the game, I dont fully understand the game Yahtzee, but I read your instructions which helped a bit.

    Nice work on the game though, is it swing?

    Edit. Why exactly did it have to get installed lol? Was that a requirement of your problem statement?
    We made the installer as an extra for the teacher, he seemd to like it, I can put the jar file up for downloading too if you want?

    And yes that is swing, but we used a program to edit it like in vb, since we first tried it without, and it ended up being a horrible mess.
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •