Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 10 of 10
  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    3
    Member #
    30153
    Hello,
    Lately I've been getting the urge to make / run my own chess gaming website. It's been years since I made a website and even then it was with FrontPage. I'd like to know what kind of programs and skills it would require to make a website with member login ,forums, live chat, leader boards , rankings , live multiplayer chess games and tournaments. Also, if this is way out of my league for the amount of spare time I have, how would I go about finding freelancers to help me along with it?

  2.  

  3. #2
    Senior Member Ganners's Avatar
    Join Date
    Feb 2011
    Location
    United Kingdom
    Posts
    415
    Member #
    27007
    Liked
    92 times
    Hmm well this isn't something you can buy a program with and it'l do it for you. You'll have to program this stuff and it certainly isn't simple. So you've broke it down quite nicely, you need a website with a member login, forums, live chat, leaderboards/rankings and a chess game. So if you ignore the forums, you'll probably need to think about making your own application (or getting one made for you).

    If you were to start with a framework, I always suggest Codeigniter (a PHP framework based around the MVC design pattern), then in fact the member login and live chat aren't difficult, and you can probably find scripts and tutorials for both. So then brings us to the chess game. You need to think about what technology will be behind it, probably either flash or JavaScript, and your server side programming language of choice.

    It would require many things, you'd have to think about:
    • How 2 users are going to get matched into a game
    • How you are going to programmatically set the rules of the game
    • How you are going to register each clients moves and update their opponent. etc. etc.

    There's a lot to consider. If you were to hire a freelancer, you'd probably look overseas but this would still cost a fair amount. If I were to undertake the project, I'd easily be able to charge over 2000.
    BlitzyWizy likes this.
    Mark Gannaway Software Developer

    Recent Experiments
    - Backpropogation Neural Network language solving (http://ann.ganners.co.uk/)
    - Animated image to ASCII (http://google.ganners.co.uk/)
    - 3D Paper Characters (http://cybergame.ganners.co.uk/)
    - Anagram solving (http://roflol.co.uk/)

  4. #3
    Member
    Join Date
    Aug 2011
    Posts
    71
    Member #
    28914
    Liked
    1 times
    Heads up...making a chess game is hard as hell and requires programming. Not sure you would want to use someone else's...no one would care about your site when it looks like the same game as someone elses. Right off the top of my head, I can see about 1000 lines of code just in loops. Go build tic-tac-toe or rock paper scissors to see what I mean. Games are a little difficult.
    Measures would also have to be taken so cheating couln't happen. So you can't just generate your switch:cases randomly. Big deal. REAL big deal

  5. #4
    Member
    Join Date
    Aug 2011
    Posts
    71
    Member #
    28914
    Liked
    1 times
    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */
    package FinalTest;
    import java.util.Collections;
    import java.util.List;
    /**
    *
    * @author pcstudent
    */
    import java.util.Scanner;
    import java.util.Random;
    public class RockPaperScissors {
    /**
    * @param args the command line arguments
    */
    public static void main(String[] args) {


    GetUserChoice();

    }

    public static void GetUserChoice()
    {
    //players choice will be R, P, or S for Rock, Paper, Scissors
    String playerChoice;
    //input
    Scanner keyboard = new Scanner(System.in);
    System.out.println ("Enter R for Rock, P for Paper, S for Scissors: ");
    playerChoice = keyboard.next();
    //change to uppercase
    playerChoice = playerChoice.toUpperCase();
    //send player's choice to RandomChoice()
    //RandomChoice() will generate the computer's random decision
    RandomChoice(playerChoice);

    }

    public static void RandomChoice(String pc)
    {
    //for random number generation
    Random generator = new Random();
    //computers choice will start as an integer, but end as a string
    int computerNum;
    String compChoice;
    computerNum = generator.nextInt(3);
    //switch case will assign a character to each number
    //computers choice will be R, P, or S for Rock, Paper, Scissors
    switch (computerNum)
    {
    case 0:
    {
    compChoice = "R"; //rock
    break;
    }
    case 1:
    {
    compChoice = "P"; //paper
    break;
    }
    case 2:
    {
    compChoice = "S"; //scissors
    break;
    }
    default:
    {
    compChoice = "will not happen";
    }
    }
    //calculation method will recieve choices for both player and computer
    CalculateWinner(compChoice, pc);
    }
    public static void CalculateWinner(String a, String b)
    {
    //calculations for determining the winner
    if (b.equals(a))
    {
    System.out.println("It's a tie!");
    }
    else if(b.equals("R"))
    {
    if (a.equals("P"))
    {
    System.out.println("Paper: You Lose!");
    }
    else if (a.equals("S"))
    {
    System.out.println("Scissors: You Win!");
    }

    }
    else if (b.equals("P"))
    {
    if (a.equals("R"))
    {
    System.out.println("Rock: You Win!");
    }
    else if (a.equals("S"))
    {
    System.out.println("Scissors: You Lose!");
    }
    }
    else if (b.equals("S"))
    {
    if (a.equals("R"))
    {
    System.out.println("Rock: You Lose!");
    }
    else if (a.equals("P"))
    {
    System.out.println("Paper: You Win!");
    }
    }
    }
    }

  6. #5
    Member
    Join Date
    Aug 2011
    Posts
    71
    Member #
    28914
    Liked
    1 times
    That is a simple java program dumbed down for a SIMPLE game: rock, paper, scissors.

  7. #6
    Junior Member
    Join Date
    Dec 2011
    Posts
    3
    Member #
    30153
    Thanks for the info.Looks like this one is probably out of my league. I wouldn't mind it if i had to use someone else's chess engine. The site would really only be for a smaller group of people. Not one of those giant money making game sites. Maybe it would be easier to lower my standards a bit? The site could use someone else's chess script ( http://sourceforge.net/projects/webchess/ ) and have a section for chess problem solving ( http://www.dhtmlgoodies.com/index.ht...ndfold-trainer ) with rank/ leader board. Heck... the ratings and tournaments aren't even that important to get me started. How difficult would it be now that i'm just ripping off other peoples scripts?

  8. #7
    Senior Member Ganners's Avatar
    Join Date
    Feb 2011
    Location
    United Kingdom
    Posts
    415
    Member #
    27007
    Liked
    92 times
    It depends how well the scripts are commented and coded really, and how well you can understand them. But the territory you're heading into here is doing what's already done! Merging two scripts together usually doesn't work from experience. I'd start with this webchess script and build on top of it as it seems to be the most complex of the two.

    If you don't have any programming experience, then I'd back away from this! Start small.

    If you really want to do it, get this webchess script up and running, add to it over time and you'll understand it more and more.
    BlitzyWizy likes this.
    Mark Gannaway Software Developer

    Recent Experiments
    - Backpropogation Neural Network language solving (http://ann.ganners.co.uk/)
    - Animated image to ASCII (http://google.ganners.co.uk/)
    - 3D Paper Characters (http://cybergame.ganners.co.uk/)
    - Anagram solving (http://roflol.co.uk/)

  9. #8
    Member
    Join Date
    Aug 2011
    Posts
    71
    Member #
    28914
    Liked
    1 times
    My issue is the "free-ness." Too many people have seen the inside of this thing. Someone is ready to crush it, i guarantee. People have found ways to cheat it, and they will if you get popular. And, no, it won't work unless it is yours. Sorry, but you might as well be inviting people onto your network to play a game. It isn't original enough.

  10. #9
    Junior Member
    Join Date
    Dec 2011
    Posts
    3
    Member #
    30153
    After messing around a little bit and basically just giving myself headaches I've decided to hire someone from "Scriptlance" to get started on this for me. If time is money then I think I'm saving a fortune :P

  11. #10
    Senior Member Ganners's Avatar
    Join Date
    Feb 2011
    Location
    United Kingdom
    Posts
    415
    Member #
    27007
    Liked
    92 times
    Okay good choice! I hope all turns out well.
    Mark Gannaway Software Developer

    Recent Experiments
    - Backpropogation Neural Network language solving (http://ann.ganners.co.uk/)
    - Animated image to ASCII (http://google.ganners.co.uk/)
    - 3D Paper Characters (http://cybergame.ganners.co.uk/)
    - Anagram solving (http://roflol.co.uk/)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:33 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com