FS#1464 - Game: Othelo - Turn based board game with AI opponents

Attached to Project: Rockbox
Opened by Blue Chip (bluechip) - Monday, 23 June 2003, 07:49 GMT
Last edited by Björn Stenberg (zagor) - Sunday, 29 June 2003, 22:03 GMT
Task Type Patches
Category Games
Status Closed
Assigned To No-one
Operating System
Severity Very Low
Priority Low
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


See othelo.txt file in archive.

I have no idea if I have got this
patch thing right ..if not I am sure someone will let me

At the top it says "no zip files", at the bottom it only
allows one file. So this is a 7-zip (see elsewhere on source

PATCH the .PAT, put the source and headers in
/apps/recorder and the .txt file in /docs
This task depends upon

Closed by  Björn Stenberg (zagor)
Sunday, 29 June 2003, 22:03 GMT
Reason for closing:  Accepted
Comment by Linus Nielsen Feltzing (linusnielsen) - Monday, 23 June 2003, 08:38 GMT

When you read "no zip files", it meant "no archives
containing multiple files". You are supposed to attach all
files, one at a time, uncompressed.
Comment by Daniel Stenberg (bagder) - Monday, 23 June 2003, 08:41 GMT

Or even better:

append all patches into one single patch file, then upload
that one so that we can browse the patch already in the browser!
Comment by Blue Chip (bluechip) - Wednesday, 25 June 2003, 04:16 GMT

Hopefully this is how you attach a comment...

Badger: How do I
"append all patches into one single patch file"?

Also, I managed
to find a bug (alas, the shame of it) and an oversight (meh), expect 1.1

bug - keyboard polling loop fails to work as expected on real
hardware, fine on simulator (probably explains why I almost went mad
writing it!) ...I think current_tick runs too slowly on the PC which kinda
makes sense ...700Mhz of PC cannot emulate 12MHz of a.n.other CPU -

oversight - an illegal move to where a piece presently exists
does not flash the board

If I can can suss correct creation of a
patch file, I will do so. If not I will slap it on a web site somewhere and post
the URL to the newsgroup.
Comment by Daniel Stenberg (bagder) - Wednesday, 25 June 2003, 06:52 GMT

How to make all diffs into one file:

1. diff -u > patch
2. diff -u >> patch
3. diff -u >> patch


You create all separate patches first, and concatenate them

cat patch1 patch2 patch3 patch4 > fullpatch

Comment by Blue Chip (bluechip) - Wednesday, 25 June 2003, 08:32 GMT

...or even easier still, use:
diff -r -u and strip out what you don't

...but that does not include _new_ files!?
...such as