Check out Janggi (Korean Chess), our featured variant for December, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Jocly. An html-based web platform for playing 2-player abstract stategy games.[All Comments] [Add Comment or Rating]
H. G. Muller wrote on Wed, Jan 3 09:57 PM UTC in reply to François Houdebert from 09:33 PM:

By the way, is there a simple way of retrieving the piece type id (piece.t) from a string

Yest, there is. The returned object p contains an array p.name2nr[], which you can index with the name (like 'rook').