Results 1 to 7 of 7

Thread: Java Game

  1. #1
    MuslimCoder is offline Senior Member
    Join Date
    Jan 2009
    Posts
    119
    Rep Power
    0

    Smile Java Game

    Hello to all,

    we are making a tic tack toe for our project, and would need some suggestions on the game play. We are thinking of adding a championship where people can play with each other , however we are not sure of :


    e.g.

    1. Number of Rounds to play in a match
    2. If in Time attack mode, How many seconds should there be?


    Please make some more suggestion..

    Thanks in advance..

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default

    1) 9
    2) 42
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  3. #3
    MuslimCoder is offline Senior Member
    Join Date
    Jan 2009
    Posts
    119
    Rep Power
    0

    Default

    Thanks PhHein !!! :D

  4. #4
    MuslimCoder is offline Senior Member
    Join Date
    Jan 2009
    Posts
    119
    Rep Power
    0

    Default

    What would be better to use in the case of a League Table, an Array or A Vector.??? I like vectors more because they have more functionality.

  5. #5
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default

    ArrayList unless you need thread safety.
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  6. #6
    MuslimCoder is offline Senior Member
    Join Date
    Jan 2009
    Posts
    119
    Rep Power
    0

    Default

    thanks again :)

  7. #7
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,863
    Rep Power
    19

    Default

    And for thread safety these days the recommendation is to wrap the List using Collections.synchronisedList(), so Vector is deprecated in all but name really.
    synchronisedList api thingy

Similar Threads

  1. memory game in JAVA
    By lclclc in forum New To Java
    Replies: 19
    Last Post: 10-18-2009, 04:41 PM
  2. Java 2d game
    By Mr.Beans in forum Java 2D
    Replies: 0
    Last Post: 08-05-2009, 09:27 PM
  3. java game
    By mayhewj7 in forum New To Java
    Replies: 1
    Last Post: 04-10-2009, 07:01 AM
  4. Need: Java Game Programmer
    By ImaginationX in forum Jobs Offered
    Replies: 2
    Last Post: 12-07-2008, 10:45 PM
  5. Help with my game in java
    By lenny in forum New To Java
    Replies: 1
    Last Post: 07-23-2007, 04:40 PM

Posting Permissions

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