Page 1 of 4 1234 LastLast
Results 1 to 20 of 65
  1.    #1  
    Pure javascript chess engine with computer opponent.

    Improvements coming but it plays now. Source up on the webos-internals repository as soon as I can push it.

    tap a piece that you want to move, tap the place to drop it.

    sounds not working, options other than selecting computer color not working, but it does play (poorly)

    you can use this to let two humans play each other as well.

    have fun

    the usual webos-internals MIT license applies. Original source was public domain. (credit in the source.)

    Obligatory screen shot screenshot.png

    installable ipk file (use sdk to install)
    com.boatrights.prechess_0.0.01_all.ipk

    fixed icon
    com.boatrights.prechess_0.0.02_all.ipk

    Version 03 now offers an about screen and a help scene. You can now win! The program now acknowledges a checkmate instead of crashing. improved icon again...

    Choice of what to promote to is not yet working...

    Looking at the code this does an a/b search to two levels in 0.01 to 0.1 seconds. We could easily go to three or 4 levels and improve game play.

    However, regarding end-game, this programs end-game strategy is to win before the end of the game.....

    com.boatrights.prechess_0.0.03_all.ipk

    Version 0.0.04 update Wed 22 July 2009

    com.boatrights.prechess_0.0.04_all.ipk

    0.0.04 screenshot
    0004 screenshot.png


    This minor update dumps the html widgets for mojo widgets.

    Proposed for version 05 --
    • New Game button or menu choice
    • withdraw a move button or menu choice (hard)
    • copy/pasteable game log
    • setup option for "short" move codes


    Proposed for version 06:

    move to the micro-max 4.8 game engine: Micro-Max

    Rick

    ((Visit us at Main Page - WebOS Internals))
    Last edited by rboatright; 07/22/2009 at 05:34 PM. Reason: version update
  2. zacarias's Avatar
    Posts
    91 Posts
    Global Posts
    92 Global Posts
    #2  
    I'll check it out.
  3. #3  
    not bad but the icon could use some work
  4. #4  
    So you say the computer plays, but poorly. How bad is it exactly? Will a decent (but not good) player win every time, or will it give a slight challenge?
  5. mike_103's Avatar
    Posts
    10 Posts
    Global Posts
    11 Global Posts
    #5  
    This looks great. If all the background stuff continues to work well it's just a matter of working on some of the UI elements to make it easier to click and such and do it more like the Palm applications. Oil's interfaces might be good to look at for ideas with Blocked and Dot Game, he's made some very slick interfaces that are touch friendly but can be easily implemented.

    Keep up the great work.
  6. #6  
    Rick,

    This is a great start!

    Thank you!

    The Pre has Chess!

    - Craig
  7.    #7  
    I'll pre-it-up over the next few days.

    regarding interfaces, I will make the other-than-game-play interfaces better, but the chess board itself is limited by _having_ to be 8x8 that makes the touch targets 320/8 =40px

    Palm's reccomendation is that touch targets be 42, so this is close, and I just -can't- make them larger.
  8.    #8  
    Quote Originally Posted by jhoff80 View Post
    So you say the computer plays, but poorly. How bad is it exactly? Will a decent (but not good) player win every time, or will it give a slight challenge?
    I've beat it once. I am a CRAPPY player.

    The pre is fast enough that I can increase the search depth.

    The real problem is that the damned thing doesn't know anything about end-game and dorks around promoting pawns instead of doing a two-rook mate.
  9.    #9  
    I fixed the icon. more later
  10. #10  
    Looking forward to checking this out. I like chess but I SUCK at it. Will be nice to play on the go.
  11. #11  
    Thanks rboatright

    Are you specialized on games? If so, may I encourage you for a backgammon one.?
  12. #12  
    Nice job
  13. Ecoteric's Avatar
    Posts
    20 Posts
    Global Posts
    22 Global Posts
    #13  
    LOL. Good first version. The computer plays hilariously bad! I put the computer against itself and it was white with a queen, rook, and bishop versus black with just a king and it forced a stalemate!!

    Can't wait to you update the app with better cpu chess algorithms. Also the game interface needs a "new game/save game" option.

    Thanks a lot for this!
  14. #14  
    Quote Originally Posted by akitayo View Post
    Thanks rboatright

    Are you specialized on games? If so, may I encourage you for a backgammon one.?

    Oooh, backgammon would be lovely.
  15. PreGame's Avatar
    Posts
    540 Posts
    Global Posts
    550 Global Posts
    #15  
    Quote Originally Posted by rboatright View Post
    Pure javascript chess engine with computer opponant.

    Improvements coming but it plays now. Source up on the webos-internals repository as soon as I can push it.

    tap a piece that you want to move, tap the place to drop it.

    sounds not working, options other than selecting computer color not working, but it does play (poorly)

    you can use this to let two humans play each other as well.

    have fun

    the usual webos-internals MIT license applies. Original source was public domain. (credit in the source.)

    Obligatory screen shot screenshot.png

    installable ipk file (use sdk to install)
    com.boatrights.prechess_0.0.01_all.ipk

    fixed icon
    com.boatrights.prechess_0.0.02_all.ipk
    Rick
    i love you!
  16.    #16  
    Quote Originally Posted by akitayo View Post
    Thanks rboatright

    Are you specialized on games? If so, may I encourage you for a backgammon one.?
    I've been specialized in porting old javascript apps to the pre.

    If I can find a PD or MIT or GPL backgammon I'll go for it.

    Although _MY_ app (an ebook reader) ought to be getting my time, but I'm learning a lot doing these ports.
  17.    #17  
    don't expect _me_ to get the game engine much better. This is a port of the 5K javascript chess engine. the underlying javascript fits in 5k... and it has NO understanding of end-game (as someone noticed.)

    But thanks!
  18. #18  
    Not sure where the rules came from on your app but the computer castled while he was in check. This is... not allowed.
  19.    #19  
    yeah.... the game engine sucks.

    I've been looking at other game engines.... this one stinks.

    But it will

    a) play itself and b) allow two player play using thepre as a board and records the game.

    Rick
  20. redskyy's Avatar
    Posts
    92 Posts
    Global Posts
    94 Global Posts
    #20  
    Quote Originally Posted by corq View Post
    Oooh, backgammon would be lovely.
    I agree about Backgammon. I would love to see someone tackle that next.
Page 1 of 4 1234 LastLast

Posting Permissions