It is currently Wed Apr 24, 2024 9:08 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
Offline
 Post subject: Help, please.
Post #1 Posted: Tue Sep 20, 2016 6:05 pm 
Beginner

Posts: 11
Liked others: 1
Was liked: 0
Rank: Extremely Uncertain
Universal go server handle: Ryukai
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.

_________________
"I can't do it, I don't know my ABC's." - Anonymous

Top
 Profile  
 
Offline
 Post subject:
Post #2 Posted: Tue Sep 20, 2016 6:10 pm 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
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 ?

Top
 Profile  
 
Offline
 Post subject: Re: Help, please.
Post #3 Posted: Tue Sep 20, 2016 6:28 pm 
Beginner

Posts: 11
Liked others: 1
Was liked: 0
Rank: Extremely Uncertain
Universal go server handle: Ryukai
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.

_________________
"I can't do it, I don't know my ABC's." - Anonymous

Top
 Profile  
 
Offline
 Post subject:
Post #4 Posted: Tue Sep 20, 2016 6:42 pm 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
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 ? :)

Top
 Profile  
 
Offline
 Post subject: Re: Help, please.
Post #5 Posted: Tue Sep 20, 2016 6:48 pm 
Oza
User avatar

Posts: 2221
Location: Germany
Liked others: 8262
Was liked: 924
Rank: OGS 9k
OGS: trohde
Universal go server handle: trohde
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: )

_________________
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? :)

Top
 Profile  
 
Offline
 Post subject: Re: Help, please.
Post #6 Posted: Tue Sep 20, 2016 6:52 pm 
Beginner

Posts: 11
Liked others: 1
Was liked: 0
Rank: Extremely Uncertain
Universal go server handle: Ryukai
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.

_________________
"I can't do it, I don't know my ABC's." - Anonymous

Top
 Profile  
 
Offline
 Post subject:
Post #7 Posted: Tue Sep 20, 2016 6:55 pm 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
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 ? :)

Top
 Profile  
 
Offline
 Post subject:
Post #8 Posted: Tue Sep 20, 2016 7:04 pm 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
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

Top
 Profile  
 
Offline
 Post subject: Re: Help, please.
Post #9 Posted: Tue Sep 20, 2016 7:15 pm 
Beginner

Posts: 11
Liked others: 1
Was liked: 0
Rank: Extremely Uncertain
Universal go server handle: Ryukai
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.

_________________
"I can't do it, I don't know my ABC's." - Anonymous

Top
 Profile  
 
Offline
 Post subject:
Post #10 Posted: Tue Sep 20, 2016 7:20 pm 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
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 ! :)


This post by EdLee was liked by: Koosh
Top
 Profile  
 
Offline
 Post subject: Re: Help, please.
Post #11 Posted: Wed Sep 21, 2016 9:12 am 
Oza
User avatar

Posts: 2777
Location: Seattle, WA
Liked others: 251
Was liked: 549
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: oren
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

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group