Chess: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Started page with my experiences)
 
m (Formatting fixes)
Line 1: Line 1:
This is what I was able to discover about chess on the OLPC. I just got it a couple of days ago, so I probably missed a lot.
This is what I was able to discover about chess on the OLPC. I just got it a couple of days ago, so I probably missed a lot.


== [[etoys]]==
== [[Etoys]]==
Launch Etoys, open a new project, drag out the "Object Catalog" from the treasure box in the menu, go to "Games" category and drag out "Chess".
Launch Etoys, open a new project, drag out the "Object Catalog" from the treasure box in the menu, go to "Games" category and drag out "Chess".


Line 10: Line 10:


== xboard ==
== xboard ==
xboard runs on linux, it has not been sugarized, so everything is from the [[terminal]]
xboard runs on linux, it has not been sugarized, so everything is from the [[Terminal]]


=== Installing ===
=== Installing ===
Line 29: Line 29:
xboard -font 6x13 -coordFont 6x13 -clockFont 6x13
xboard -font 6x13 -coordFont 6x13 -clockFont 6x13


To play against other people online, at <a href="http://freechess.org">FICS</a>:
To play against other people online, at [http://freechess.org FICS]:
xboard -font 6x13 -coordFont 6x13 -clockFont 6x13 -ics -icshost freechess.org
xboard -font 6x13 -coordFont 6x13 -clockFont 6x13 -ics -icshost freechess.org


Line 42: Line 42:


=== Shortcuts ===
=== Shortcuts ===
Add the following to the bottom of the file ~/.bashrc , using [[nano]] or another editor:
Add the following to the bottom of the file ~/.bashrc , the [[Nano]] and [[Vi]] editors are installed:


alias fics="xboard -font 6x13 -coordFont 6x13 -clockFont 6x13 -ics -icshost freechess.org"
alias fics="xboard -font 6x13 -coordFont 6x13 -clockFont 6x13 -ics -icshost freechess.org"

Revision as of 03:17, 3 February 2008

This is what I was able to discover about chess on the OLPC. I just got it a couple of days ago, so I probably missed a lot.

Etoys

Launch Etoys, open a new project, drag out the "Object Catalog" from the treasure box in the menu, go to "Games" category and drag out "Chess".

Single-player against the computer, and a fairly weak opponent

on the web

Should be a bunch of places which will let you play on the web, both against a computer, and against other players. Need to find a couple and list them here.

xboard

xboard runs on linux, it has not been sugarized, so everything is from the Terminal

Installing

Open the terminal su -l yum install xboard (The first time I ran it, xboard itself failed, but the dependencies succeeded. I re-ran it, and it got xboard. Was this just a blip, or do other people have to do this too?) exit (don't spend any longer than you have to as root)


Notes

xboard tries by default to use the Helvetica font, which is not installed on the OLPC. So we need to override the font.


Playing

To play a game of chess against the computer: xboard -font 6x13 -coordFont 6x13 -clockFont 6x13

To play against other people online, at FICS: xboard -font 6x13 -coordFont 6x13 -clockFont 6x13 -ics -icshost freechess.org

You first need to go to their website and register for an account (It's free.)

when playing on fics, the console is in your shell window, another window comes up with the board. This shows up as a gray circle on the home screen

I'm DanTilkin on FICS, drop me a line if you're on there. I'd love to play you a game.

timeseal

With the base install of xboard, when playing on FICS, your clock starts when the server sends you your opponents move, and doesn't stop until it gets your move back. The transit time is charged against you. A program called timeseal will prevent this "lag" time from being charged to you. Unfortunately, it's not in yum. How do I install third-party software?

Shortcuts

Add the following to the bottom of the file ~/.bashrc , the Nano and Vi editors are installed:

alias fics="xboard -font 6x13 -coordFont 6x13 -clockFont 6x13 -ics -icshost freechess.org" alias gnuchess="xboard -font 6x13 -coordFont 6x13 -clockFont 6x13"

You can then just run "fics" to play on the server, or "gnuchess" to play the computer.

Two-player

With one computer, run like you're going to play the computer, then switch to "Edit game" under the mode menu.

With two computers, and internet access, you can both log on to FICS, and play each other using the "match" command.

To-do

1. Install a bigger, easier to read font for use with xboard. (How?) 2. put font choices in .Xdefaults, rather than an alias. 3. install timeseal 4. Want to see the console and the board at the same time. 5. try other downloaded interfaces to fics. 6. try java interface to fics.

Activity

I'd love to see a chess activity for the OLPC. I did a search, didn't find anything. For the extensibility side, give kids an easy way to program their own chess engines.

xboard and gnuchess are under the GPL, can possibly use those as a base.