psp Chess
psp Chess
pspChess is a port Boo's Ches Engine to the PSP.
Binary: http://www.cse.msu.edu/~bowronch/pspchess.zip
Screenshot: http://bace.bowron.us/screenshot.png
Source: http://www.cse.msu.edu/~bowronch/pspchess_src.zip
It has an opening book of 800 lines, then will switch over to a search based strategy. You can change the searchdepth via the option menu.
Move selection is done by arrow keys and x. Pressing start and select will change the search depth, Left trigger will back up a move, Right trigger will make the computer play the side who's turn it is.
The source to the original text based BCE is available here:
http://www.bowron.us/FILES/bce.tar.gz for reference.
Binary: http://www.cse.msu.edu/~bowronch/pspchess.zip
Screenshot: http://bace.bowron.us/screenshot.png
Source: http://www.cse.msu.edu/~bowronch/pspchess_src.zip
It has an opening book of 800 lines, then will switch over to a search based strategy. You can change the searchdepth via the option menu.
Move selection is done by arrow keys and x. Pressing start and select will change the search depth, Left trigger will back up a move, Right trigger will make the computer play the side who's turn it is.
The source to the original text based BCE is available here:
http://www.bowron.us/FILES/bce.tar.gz for reference.
Last edited by cwbowron on Fri Jul 15, 2005 6:40 am, edited 5 times in total.
I've worked on it, and gotten the basics of a computer opponent working, still only tested under pspe. As the computer is thinking through its moves it will display the board configuration of the move it is considering...
from readme.txt:
select piece to move using arrows and then press x. Select destination square using arrows then press x.
START decrease searchdepth
SELECT increase searchdepth
RTRIGGER make computer move
LTRIGGER back up a move
known errors:
seeing some illegal and weird moves being made. Set searchdepth to 3, on black's 5th move or so the move will actually move white rook from A1 to C5.
from readme.txt:
select piece to move using arrows and then press x. Select destination square using arrows then press x.
START decrease searchdepth
SELECT increase searchdepth
RTRIGGER make computer move
LTRIGGER back up a move
known errors:
seeing some illegal and weird moves being made. Set searchdepth to 3, on black's 5th move or so the move will actually move white rook from A1 to C5.
I added an opening book of 800 different openings...
A computer opppoenent will follow a book opening as long as one exists, then switch over to a search based move.
I have still not tested this on a real psp. If you have please let me know how it works, and if it does work, what kind of search depth can be used?
Thanks
A computer opppoenent will follow a book opening as long as one exists, then switch over to a search based move.
I have still not tested this on a real psp. If you have please let me know how it works, and if it does work, what kind of search depth can be used?
Thanks
Release version 0.03
Made book loading optional (press square button).
Added more debug display information during search.
Added move sorting before search.
Board flips over when its blacks turn to move.
Made book loading optional (press square button).
Added more debug display information during search.
Added move sorting before search.
Board flips over when its blacks turn to move.
Last edited by cwbowron on Sat May 28, 2005 6:04 am, edited 1 time in total.
RELEASE 0.04
Changes:
display clocks (clocks only change when a move is made)
display alpha and beta in search display
change sceCtlRead functions to use 1 as second parameter (that's what skippy's library functions use)
removed splash screen
added killers display during search
Changes:
display clocks (clocks only change when a move is made)
display alpha and beta in search display
change sceCtlRead functions to use 1 as second parameter (that's what skippy's library functions use)
removed splash screen
added killers display during search
Last edited by cwbowron on Tue May 24, 2005 6:25 am, edited 1 time in total.
thanks for the release, shouldnt it be 0.04 release ;)
a mirror page of your release ahs been made here http://psp-news.dcemu.co.uk/pspchess.shtml
a mirror page of your release ahs been made here http://psp-news.dcemu.co.uk/pspchess.shtml
Thanks... I fixed the version number... hopefully I'm not regressing down to 0.004...emumaniac wrote:thanks for the release, shouldnt it be 0.04 release ;)
a mirror page of your release ahs been made here http://psp-news.dcemu.co.uk/pspchess.shtml
please note that I have changed the file location to:
http://bace.bowron.us/pspchess.zip
RELEASE 0.05
Added GPL license information
Added more status information to display
changed some keys (see readme for current setup)
http://bace.bowron.us/pspchess.zip
RELEASE 0.05
Added GPL license information
Added more status information to display
changed some keys (see readme for current setup)
RELEASE 0.07
g_show_thinking variable (controls whether the computer shows the
moves it is considering. toggle with SQUARE+RTRIGGER) default: off
removed get_time function, reinstated get_ms function, and changed
everything to that. get_ms at this point has only 1 second precision
but is multiplied by 1000 to make it milliseconds
display status information when clearing hashes (because it takes a while)
move stdlib implementations into own file (lib.c)
- fixed type mismatch between my versions and standard
g_show_thinking variable (controls whether the computer shows the
moves it is considering. toggle with SQUARE+RTRIGGER) default: off
removed get_time function, reinstated get_ms function, and changed
everything to that. get_ms at this point has only 1 second precision
but is multiplied by 1000 to make it milliseconds
display status information when clearing hashes (because it takes a while)
move stdlib implementations into own file (lib.c)
- fixed type mismatch between my versions and standard
awesome release mirror page updated too http://psp-news.dcemu.co.uk/pspchess.shtml
I had some feedback from a user using it on a real psp. Hopefully this will fix some of the issues. If anyone else has uncovered bugs on a real psp or on pspe please post them here.
RELEASE 0.10
bitmap handling code changes
changed key press code to use skippy's Read_Key()
inserted code to handle home button press.
change message about clearing hash tables and switching to search mode
RELEASE 0.10
bitmap handling code changes
changed key press code to use skippy's Read_Key()
inserted code to handle home button press.
change message about clearing hash tables and switching to search mode
great release mirror page updated at http://psp-news.dcemu.co.uk/pspchess.shtml
RELEASE 0.13
moved everything to makefile
PIC1.PNG
background image (can be turned off)
default setup : WHITE: human, BLACK: psp
display options - you can turn of the options display on main screen
extra keys option - you can turn off some of the key processing
background image for option menu - thanks to Stadi Thompson
moved everything to makefile
PIC1.PNG
background image (can be turned off)
default setup : WHITE: human, BLACK: psp
display options - you can turn of the options display on main screen
extra keys option - you can turn off some of the key processing
background image for option menu - thanks to Stadi Thompson
From now on I will be distributing the binaries and the source separately.
Binaries now include a kxploit version as well as the normal EBOOT.PBP for 1.0 psps.
From the changelog:
RELEASE 0.15
split distribution into pspchess.zip (binaries only) and
pspchess_src.zip (with full source)
switched to correct usage of psp-gcc
added KXploit files to makefile and zip
decreased default searchdepth to 4
save/load game - saves to \PSP\GAME\CHESS.SAV - very simplistic
Binaries now include a kxploit version as well as the normal EBOOT.PBP for 1.0 psps.
From the changelog:
RELEASE 0.15
split distribution into pspchess.zip (binaries only) and
pspchess_src.zip (with full source)
switched to correct usage of psp-gcc
added KXploit files to makefile and zip
decreased default searchdepth to 4
save/load game - saves to \PSP\GAME\CHESS.SAV - very simplistic
Last edited by cwbowron on Fri Jul 15, 2005 6:41 am, edited 1 time in total.