#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    245
    Rep Power
    19

    International Soccer / Futbol Sim!! (Zip file)


    Ok, well since I have been posting some kinda (not cool) stuff. I decided to program a game that takes 5 international teams: Italy, Brazil, United States, Australia, and England and randomized it so it will be Brazil against Italy. And then random events happen in the game like:
    Italy takes a corner and scores!. And 6 events happen each game. This game has no goto statement so people shouldn't really complain hehe. I think its kinda cool and if I want to expand on a sim I would take the source out of this game and make another more in depth one. I think this is actually worth running at least 1 time! Source code included.

    Edit: There is a popup box at the end of the game that the generic console blocks so drag the console out of the way after the game has been simmed.
    Edit Edit: Updated the game for Finland to be a team! And fixed an error that disallowed Brazil to actually play!
    Attached Files
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2006
    Location
    Finland
    Posts
    260
    Rep Power
    21
    Hehe, nice game Keep up the good work!
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    245
    Rep Power
    19
    Thanks! I will and just because of that I am going to add Finland as a team hehe won't be hard.

    Edit: Ok new version has Finland in it.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    245
    Rep Power
    19
    I have decided to continue on with this idea since it is really easy to add to the source code I already programmed. I plan on adding a lot of countries right now and then add more random possibilities and then eventually add a new world cup mode! I see a future for this game to be pretty darn cool!
    Feel free to give me any ideas / countries to add / random possibilities and I will try to add them in.
    Teams so far:
    Finland
    Portugal
    England
    France
    United States
    Ghana
    Italy
    Brazil
    Germany
    Australia
    Mexico
    Sweden
    Spain
    China
    Japan

    When I finish adding more teams and then get working on the extra possibilities I will post the code and try to get working on the world cup part. Then after that hopefully make results based on skills in the future after that!
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2006
    Location
    Finland
    Posts
    260
    Rep Power
    21
    Originally Posted by fierydog
    Thanks! I will and just because of that I am going to add Finland as a team hehe won't be hard.

    Edit: Ok new version has Finland in it.
    Ok that's nice Gonna d/l new version

    Suggestion, you could make it so that user can either decide which team he wants to play in, or let the program choose random

    Happy coding

    edit. Haha this is great!!


    The game that will be simulated is Finland against Italy

    Final Score:
    Finland: 5
    Italy: 1
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    245
    Rep Power
    19
    Sweet. Right now I am doing an identical of the 2006 world cup and unfortunately Finland isn't in it. Making the teams random would take a year so I am putting Finland in for Serbia!

    Edit: This is going to take a long time to finish this world cup play but its going to be as cool as I can make it!
    Edit Edit: Ok as of now I have 2000 lines and haven't finished group play coding yet. All is bug free so far.
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2006
    Posts
    7
    Rep Power
    0
    Originally Posted by fierydog
    Edit Edit: Ok as of now I have 2000 lines and haven't finished group play coding yet. All is bug free so far.
    famous last words, 'all is bug free'. Don't be so sure.
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    245
    Rep Power
    19
    Well, that part was.
  16. #9
  17. No Profile Picture
    what do I know about diamonds?
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2003
    Location
    ON, Canada
    Posts
    950
    Rep Power
    175
    you shoud add things like yellow cards and red cards. give them away like candy

  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    245
    Rep Power
    19
    Originally Posted by pumpkin head
    you shoud add things like yellow cards and red cards. give them away like candy
    Lol the project went dead... I don't have enough time on my hands anymore
  20. #11
  21. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2006
    Location
    Finland
    Posts
    260
    Rep Power
    21
    Originally Posted by fierydog
    Lol the project went dead... I don't have enough time on my hands anymore
    Sad to hear

    Usually these very big projects needs a team. I would have in mind really good Soccer game and I could code it, but I would need partners for a team, it would take so long time to code it. =P
  22. #12
  23. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2006
    Location
    Columbia, SC
    Posts
    56
    Rep Power
    22
    Originally Posted by KillerRabbit
    Sad to hear

    Usually these very big projects needs a team. I would have in mind really good Soccer game and I could code it, but I would need partners for a team, it would take so long time to code it. =P
    I know how you feel; im workin on a HUGE online RPG using php and mysql. The coding is pretty doggone easy, but it is just time consuming. And then there is school...

    btw the U.S. just beat Italy 3-2

IMN logo majestic logo threadwatch logo seochat tools logo