Giter Site home page Giter Site logo

Comments (6)

nguyenpham avatar nguyenpham commented on August 15, 2024

Wow, good information about your wife GM! I have found two games by your wife from my databases.

OCGDB could be used directly for Xiangqi. What we need is a standard for Xiangqi only - how to encode and decode Xiangqi moves into/from 2 bytes. I will publish a guide about that, to avoid there being so many sub-standards.

I have been developing two freeware using OCGDB for Xiangqi, one for desktop computers (Windows/Mac/Linux) and one for iOS (there is not yet for Android). They just need a few steps/shiny works before release.

ocgdb-ios

ocgdb-mac

from ocgdb.

agogugu avatar agogugu commented on August 15, 2024

from ocgdb.

nguyenpham avatar nguyenpham commented on August 15, 2024

For quick comparison we can consider that OCGDB is equally to PGN. What you can do with PGN you can do with OCGDB. If you can store your puzzles with PGN, you can do the same with OCGDB.

However, sometimes people want to store chess positions in the form of EPD. We have create a new database format for that type. The SQLite file will have the extension of .epd.db3. Sometimes I see it is good for storing puzzles too. You may read more here:

https://talkchess.com/forum3/viewtopic.php?f=7&t=78464&start=280#p927684

The code of EPD format have been pushed here for long time. However, I forgot (and was lazy) to update the standard.

All code here is pure C/C++ 17. They don't have the GUI code and can integrate into any C/C++ project in any OS, including Visual Studio ones. Just add the code into your project and then add all files. They should be compiled easily.

Thank a lot about good words to me!!!

Yes, I love to have those games of your wife, as well any games from high rank Xiangqi players. I have been building a new database too. Just sen them to me and thank a lot in advance. If you could, please translate all player names into Latin words since I can't read Chinese.

from ocgdb.

agogugu avatar agogugu commented on August 15, 2024

from ocgdb.

nguyenpham avatar nguyenpham commented on August 15, 2024
  1. Yes. Recently all my apps (BanksiaGUI, new apps for iOS) can work with variations. I just use a simple solution, quite similar to parenthesises in PGN for storing variations. However, the code is tricky to work with. I have just implemented recently, thus there is no update for OGCDB. I may mention as a part of the standard
    I don't have any Xiangqi game with variations at the moment, you may see the one for chess

  2. Chess has ECO system. Xiangqi has ECCO (Encyclopaedia of Chinese Chess Openings). The ECCO is in both English and Chinese. I have added Vietnamese

  3. I have been collecting games for building a new Xiangqi database. Thus it has not been published yet.
    The hard point I can't use ones with player names in Chinese since I can't read them as well as my friends. If there is a dictionary for referencing between Chinese and Latin/English names it will be so useful for me

IMG_4638

IMG_4636

from ocgdb.

agogugu avatar agogugu commented on August 15, 2024

from ocgdb.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.