Author Topic: Checkers Lua  (Read 26562 times)

0 Members and 3 Guests are viewing this topic.

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Checkers Lua
« on: January 02, 2012, 05:13:41 pm »
So I've been working on this version of Checkers. It's based off a previous project from Python a while back. As of now, only two-player is supported, but AI will come later.

I tried taking an animated screenshot using Nick's method, but it ended up giving me a 350 MB gif.  :P

Screenshot:


Edit:
Moving screenshots has now been created! With 79KB!
« Last Edit: January 02, 2012, 05:51:21 pm by cyanophycean314 »

Offline renatose

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 209
  • Rating: +4/-0
  • watch out the power balls
    • View Profile
Re: Checkers Lua
« Reply #1 on: January 02, 2012, 05:55:27 pm »
Great! will it have AI?
Did you checked the colors in grayscale mode to verify if it is playable in all nspires?

Offline GB

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 147
  • Rating: +15/-3
  • Use Microhard WindOS today!
    • View Profile
    • MICROHARD CORPORATION
Re: Checkers Lua
« Reply #2 on: January 02, 2012, 05:56:26 pm »
I think the graphics might look a little better with round pieces. But nice work anyways, no matter what shape they are!
TI-86 USER
CASIO PRIZM USER
TI-NSPIRE USER
TI-84 PLUS SILVER EDITION USER
TI-83 PLUS USER

PROJECTS:

Microhard Paint
http://www.omnimaga.org/index.php?topic=11915.0

TI-Nspire Character Map
http://www.omnimaga.org/index.php?topic=7725.msg142555#msg142555

Offline saintrunner

  • Custom Spriter: You ask it! I'll Make it!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1787
  • Rating: +115/-11
  • Flogging Molly
    • View Profile
    • Jonny K Music
Re: Checkers Lua
« Reply #3 on: January 02, 2012, 05:58:15 pm »
Wow, this looks like a great start! Now I REALLY want an Nspire!
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Re: Checkers Lua
« Reply #4 on: January 02, 2012, 05:59:36 pm »
@Renatose: As I said in the first post, AI will be implemented. As a matter of fact, I'm working on it right now. How would you check the colors for non-color? I haven't really worked with non-CXs at all...

@GB:Yes, the rectangles shall become circles soon enough.

@Saintrunner: You posted while I was posting this post...

Offline saintrunner

  • Custom Spriter: You ask it! I'll Make it!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1787
  • Rating: +115/-11
  • Flogging Molly
    • View Profile
    • Jonny K Music
Re: Checkers Lua
« Reply #5 on: January 02, 2012, 06:00:59 pm »
really? the time stamp says we were a minute apart!
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Checkers Lua
« Reply #6 on: January 02, 2012, 06:01:27 pm »
the screenie is really nice :) works wonderful.. but can you also move to the not-marked places?

and maybe make it possible for multi-step moves (dunno how to say that) like when you can take 3 pieces in a row, you have to do that (officially xp) so maybe, add this if possible?

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Re: Checkers Lua
« Reply #7 on: January 02, 2012, 06:11:15 pm »
@saintrunner: Although the time stamp says that, I glanced at the topic summary and saw a new post!

@Nick: Moving to those squares aren't possible. Jumping multiple times will be added later.

I've read on wikipedia that it's called draughts and if given the opportunity to take a piece, you must. I've never heard of those two facts until now...

Offline renatose

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 209
  • Rating: +4/-0
  • watch out the power balls
    • View Profile
Re: Checkers Lua
« Reply #8 on: January 02, 2012, 06:16:41 pm »
In the computer software if you chose a keypad that's not CX i.e. a touchpad or a clickpad then you'll see it in grayscale. That's good for testing ;)

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Checkers Lua
« Reply #9 on: January 02, 2012, 06:25:18 pm »
This looks very nice!  I can't wait to try it! :)


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Checkers Lua
« Reply #10 on: January 02, 2012, 06:52:10 pm »
Looks nice. By the way aren't the white pieces normally red? I didn't play chess in 15 years but every board I got came with red and black pieces.
« Last Edit: January 02, 2012, 06:52:42 pm by DJ_O »

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Checkers Lua
« Reply #11 on: January 02, 2012, 07:00:27 pm »
Nice :D

@DJ_O : I've always seen blakc and white, for Checkers* ("Jeu de dames")
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Checkers Lua
« Reply #12 on: January 02, 2012, 07:12:20 pm »
Ah ok. Maybe it depends of the region or it was just a coincidence. Not that it matters much to me though, I always lost to the game, anyway :P
« Last Edit: January 02, 2012, 07:12:41 pm by DJ_O »

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Checkers Lua
« Reply #13 on: January 02, 2012, 07:13:04 pm »
Cool! How did you get a moving screenie?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Checkers Lua
« Reply #14 on: January 02, 2012, 07:15:53 pm »
When using TI-Nspire student software, use Camstudio to record an avi file then virtualdub to export as GIF. CalcCapture also works and gives much smaller file sizes, but the quality suffers.