GithubHelp home page GithubHelp logo

dykstrom / ronja Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 421 KB

An XBoard/WinBoard chess engine written in Java

License: GNU General Public License v3.0

Java 99.45% HTML 0.39% Batchfile 0.08% Shell 0.07%
chess-engine winboard xboard arena java

ronja's Introduction

Ronja

Build Status Open Issues Latest Release Downloads License Top Language JDK compatibility: 17+

An XBoard/WinBoard chess engine written in Java.

System Requirements

Ronja is a chess engine. It provides only a simple, character based user interface. It is highly recommended that you run it from a chess GUI like XBoard/WinBoard or Arena. You will also need a Java runtime installed to run Ronja.

  • Ronja versions 0.7.0 and earlier require Java 8.
  • Ronja versions 0.8.x require Java 11.
  • Ronja versions 0.9.0 and later require Java 17+.

Installation

Download the latest release from the GitHub releases page, and unzip it into a directory of your choice. Let's call this directory <ronja_home>.

XBoard

Find the XBoard resource file .xboardrc in your home directory. Now find the option -firstChessProgramNames in this file. Add a line like the following in the list of chess programs:

"Ronja" -fcp ./ronja -fd <ronja_home>

WinBoard

Find your WinBoard .ini file. It will be located somewhere in your home directory in AppData/Roaming. Now find the option /firstChessProgramNames in this file. Add a line like the following in the list of chess programs:

"Ronja" -fcp ronja.bat -fd <ronja_home>

Arena

In Arena, you should go to Engines | Install New Engine... In the dialog that appears, navigate to <ronja_home> and select ronja.bat. In the next dialog, set the type of the engine to Winboard. That's it!

Description

Ronja is written entirely in Java, and has its own opening book. It implements a few of the commonly seen features of chess engines:

  • Iterative deepening
  • Alpha-beta pruning
  • Move ordering

Ronja is designed in an object-oriented way, with classes representing positions, and other entities. This makes the engine rather slow, and so may be changed in the future.

ronja's People

Contributors

dependabot[bot] avatar dykstrom avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ronja's Issues

exceptions and crashes..

Hi. I've been testing my engine against ronja 0.8.2. Ronja lost 10/10 games due to crashes/exceptions. I thought you may want to know about it. Here are logs from Arena:
ronja.0.8.2.arenaDebug.log

I didn't test the 0.9.0 version.

I played 10 game tournament with some predefined starting positions:

[Event "1 .King's Pawn Game"]
1.e4 e5
[Event "2. Queen's Pawn Game"]
1.d4 
[Event "3. English Opening"]
1.c4 
[Event "4. Zukertort Opening"]
1.Nf3
[Event "5. Scandinavian Defense"]
1.e4 d5

I turned off ronjas book but then I tried to start it with book to - didn't make any difference.

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.