Life In 19x19
http://prod.lifein19x19.com/

Help, please.
http://prod.lifein19x19.com/viewtopic.php?f=18&t=13607
Page 1 of 1

Author:  Ryukai [ Tue Sep 20, 2016 6:05 pm ]
Post subject:  Help, please.

How is the actual interface for online games of go coded? Not asking about go playing programs, but the actual user interface for an online game between two real people. I've been trying to create one for a couple of weeks, but am being thwarted by an irritating lack of knowledge in the area. Any words of help would be appreciated at this point.

Author:  EdLee [ Tue Sep 20, 2016 6:10 pm ]
Post subject: 

Hi Ryukai,

Please don't take this the wrong way -- genuinely interested in the answers:

  • What's your background with software ?
  • How much programming experience have you had ?
    [ Basic/intermediate/advanced/expert ? ]
  • Example: have you ever programmed any user interface for 2 (or more) users for any games ?

Author:  Ryukai [ Tue Sep 20, 2016 6:28 pm ]
Post subject:  Re: Help, please.

A single high school class.
Basic, for all intents and purposes.
Yes, I have.

While I'm not going to set up my own website and attempt to start an independent go server anytime soon, I do have the distinct advantage of working with a website and programming language which are dedicated to creating games. I've worked with it for a number of years, and do have a good grasp on the basics. I'd usually be able to figure this kind of thing out on my own by looking at a working example, but I haven't been able to find one. Which has more or less left me unsure of so much as how to start.

Author:  EdLee [ Tue Sep 20, 2016 6:42 pm ]
Post subject: 

Hi Ryukai,

Thanks -- very helpful background info.

More specific examples:

(a) Very basic: guess the number game. ( Computer has a secret random natural number between 1 and 5 ; user has to guess it. )
(b) Basic Tic-Tac-Toe, 2 humans only.
(c) With (b), add an A.I. engine.
(d) Othello, 2 humans only.
(e) With (d), add an A.I. engine.

Have you programmed any games at similar difficulty to the above ?

Corollary: what's the most advanced game you've programmed so far ?

Oh, one more question: what's your Go level ? :)

Author:  Bonobo [ Tue Sep 20, 2016 6:48 pm ]
Post subject:  Re: Help, please.

I don't understand ANY of this, I don't even understand what you’re asking :roll: but I have heard about GTP, and so … there it is: http://senseis.xmp.net/?GoTextProtocol (hope I needn’t explain that I don't even know whether this is helpful or not :lol: )

Author:  Ryukai [ Tue Sep 20, 2016 6:52 pm ]
Post subject:  Re: Help, please.

I've done a guess the number game before, I do have the skills to do a tic-tac-toe game and to add an AI opponent, I couldn't do Othello, as I honestly have no idea how it's played, and the most advanced game I've programmed was for my high school class' final. A fairly simple game resembling pacman, in which the goal was to avoid enemy npcs that moved about a maze randomly at varying speeds, accomplish a handful of objectives, and leave.

Author:  EdLee [ Tue Sep 20, 2016 6:55 pm ]
Post subject: 

Hi Ryukai,

Thanks, very helpful info.

You know how to make a simple 2-D board and for the 2 users to take turn to add or remove pieces on the board.

If you know the basic rules of Go ( thus my last question above ),
then you shouldn't have any problems creating a basic Go interface.

So... what's your Go level ? :)

Author:  EdLee [ Tue Sep 20, 2016 7:04 pm ]
Post subject: 

Hi Ryukai,

Here's another angle.

If you can play with an existing, simple Go interface, could you reverse engineer it ?

If you want to create your own Go interface from scratch, without any influence of other people, then don't look at the following hidden section.

If, however, you want to get some ideas from existing Go interfaces, then click Show to reveal the hidden section:
Code:
http://www.playgo.to/iwtg/en/

www.cosumi.net/en/

https://gokibitz.com

Author:  Ryukai [ Tue Sep 20, 2016 7:15 pm ]
Post subject:  Re: Help, please.

Thanks for the help. At the moment, I'm uncertain about my playing strength. I haven't played online much recently, and the last time I had an opportunity to play anyone in person, the estimations of my level wavered pretty far.

Author:  EdLee [ Tue Sep 20, 2016 7:20 pm ]
Post subject: 

Hi Ryukai,

I'm confident you can create your own Go interface in one day.

Good luck, and let us know your progress or questions.

Screenshots ! :)

Author:  oren [ Wed Sep 21, 2016 9:12 am ]
Post subject:  Re: Help, please.

These will likely be beyond you, but you can get some ideas.

Made a long time ago...
https://sourceforge.net/projects/nngs/

Web browser go server made more recently...
https://gitlab.com/mibitzi/weiqi.gs

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/