Author Topic: Chess  (Read 47689 times)

0 Members and 1 Guest are viewing this topic.

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Chess
« Reply #165 on: November 19, 2011, 12:42:48 pm »
Woot! Yay for an update! I will download it now! Out of all the games I have given my friends, this is one of their favorites.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Chess
« Reply #166 on: November 23, 2011, 01:26:11 pm »
Another update!!!
  • AI slightly improved over last version (prefers even trades, less emphasis on creating moves, tries to eliminate opponent moves when in check)
  • Game clock
  • Way cooler title screen


Most of the AI improvements were done through tweaking my formula. In fact, here is the formula:
Spoiler For Spoiler:
;rating:
;$8000 + ((8 * captured
;   - 7 * piece value(if dest is protected)         ;prefers suicidal trades
;   + 4 * piece value(if prev and if own protect back)
;   + 2 * unprotectedThreatToThem(final - init)
;   + 2 * unprotectedThreatToUs(init - final)
;   + threatToThem(final - init)
;    + threatToUs(init-final)
;      )*7
;   + usMoves(final-init)
;   - if (bPuttingInCheck) : - themMoves(final)
;      )*2

The pieces are rated, pawn - 1, knight - 3, bishop - 3, rook - 5, queen - 9, king - 10.

After all of the moves have been rated, the game then picks a random move within 75% of the top move and makes it.

The game clock has a range of 1 to 240 minutes counting by minutes and is very very accurate.

Also, while it might look like my idea to improve the title screen was just out of the blue, I cite myself:
The menu system is graphically lacking at the moment. So I'm hoping to find or make some cool looking 4-level gray chess pieces to put on the left and right side.

I must also thank mrmprog and aeTios for giving me the motivation to make a cool picture. (I made a sprite request, and they contributed pictures, only to have me use the one I converted :P)


Anyways, what else does this game need? I'm thinking about letting you set custom positions and such. Also, what are some areas where the AI doesn't do well? I know it's still moderately easy, but what makes it easy?

I'm pretty much out of ideas, so you tell me ;D
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Chess
« Reply #167 on: November 23, 2011, 01:27:50 pm »
OMG! Epic! Those knights really fit in good!
I'm not a nerd but I pretend:

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Chess
« Reply #168 on: November 23, 2011, 01:59:55 pm »
The one gray pixel in the middle of each Knight bothers me.  I think it should either be eliminated or a couple of other pixels should be added next to it.  Other than that, it looks incredible.  Excellent job.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Chess
« Reply #169 on: November 23, 2011, 02:00:53 pm »
Z, yeah you are right ^^ it looks a bit lost.
I'm not a nerd but I pretend:

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Chess
« Reply #170 on: November 24, 2011, 12:35:05 pm »
(Gaah ! too much updates on it !!!!)

O.O That menu is epic.
* Hayleia downloads... the screenshot :P

No, seriously, I downloaded it (the game) and that pixel is unnoticed on calc.
Also, I tried it (the game, once more) and I don't like the new AI because I lose more often like how the AI was improved :P, and the "move cursor to AI" option, and the savegame option and (I'll stop now or I'll never stop). In fact I love your game ;D !!!
« Last Edit: November 24, 2011, 12:35:52 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Chess
« Reply #171 on: November 24, 2011, 12:54:40 pm »
The knight looks amazing, good job.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Chess
« Reply #172 on: November 24, 2011, 01:20:33 pm »
That is cool!
* Sorunome downloads

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline BalancedFury

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 722
  • Rating: +29/-2
    • View Profile
Re: Chess
« Reply #173 on: November 24, 2011, 01:29:15 pm »
Sorry, but didn't want to read above :P
This is for TI-84, right? :D
If it is, Good Job! ;)
I love chess! :w00t:
Also, I don't know if someone alrdy mentioned it but, add multiplayer thingy. :D
Antonio Nam = DualBLDR = Tony Arthur... U choose!





JOIN THE PETITION TO ADD THIS EMOTICON!!
[|:{P ------->


Yo dawg I herd u lost the game game so I coded the game game in your calc so you can lose the game game while you code your code about losing the game game.

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Chess
« Reply #174 on: November 24, 2011, 01:29:21 pm »
Great update. As I said on the previous page, it might be nice to show in the left and right margins which pieces have been taken.
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline BalancedFury

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 722
  • Rating: +29/-2
    • View Profile
Re: Chess
« Reply #175 on: November 24, 2011, 01:31:48 pm »
True that ^^^ :D
Antonio Nam = DualBLDR = Tony Arthur... U choose!





JOIN THE PETITION TO ADD THIS EMOTICON!!
[|:{P ------->


Yo dawg I herd u lost the game game so I coded the game game in your calc so you can lose the game game while you code your code about losing the game game.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Chess
« Reply #176 on: November 24, 2011, 01:40:29 pm »
Also, I don't know if someone alrdy mentioned it but, add multiplayer thingy. :D
Lulzwut ? Multiplayer is already available since the first version.
(In fact, I guess it is a lot easier to code than AI :P)
« Last Edit: November 24, 2011, 01:40:56 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline BalancedFury

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 722
  • Rating: +29/-2
    • View Profile
Re: Chess
« Reply #177 on: November 24, 2011, 02:08:32 pm »
Oh okay?
Antonio Nam = DualBLDR = Tony Arthur... U choose!





JOIN THE PETITION TO ADD THIS EMOTICON!!
[|:{P ------->


Yo dawg I herd u lost the game game so I coded the game game in your calc so you can lose the game game while you code your code about losing the game game.

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Chess
« Reply #178 on: November 24, 2011, 02:10:43 pm »
Also, I don't know if someone alrdy mentioned it but, add multiplayer thingy. :D
Lulzwut ? Multiplayer is already available since the first version.
(In fact, I guess it is a lot easier to code than AI :P)
Yeah in earlier posts penguin said it was already completed and was working on AI
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Chess
« Reply #179 on: November 24, 2011, 06:28:30 pm »
Epic title screen!
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________