Author Topic: TI-84+CSE: Connect 4  (Read 6793 times)

0 Members and 1 Guest are viewing this topic.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: TI-84+CSE: Connect 4
« Reply #15 on: March 24, 2013, 08:32:28 pm »
DJ: I had considered it, but never bothered to try it. Just trying to keep things uniform. And I'm not sure that Text(-1 trick is tall enough to cover the coin. I might look into it, I was just trying to keep it looking the same being deconstructed as it was being constructed to the screen. The thing isn't that slow on calc. Hopefully someone else with an 84+CSE can test it and agree to it :p There is also the issue with having to keep track of 2 separate coordinates for the coin and clearing the coin. This, surprisingly, used up a lot of variables to make.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

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: TI-84+CSE: Connect 4
« Reply #16 on: March 24, 2013, 08:35:53 pm »
Yeah I thought about two spaces for Text(-1. It would definitively look more consistent with the coin animation removed, though.

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: TI-84+CSE: Connect 4
« Reply #17 on: March 24, 2013, 09:56:08 pm »
That color screen just makes the game look so beautiful :)

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

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: TI-84+CSE: Connect 4
« Reply #18 on: March 25, 2013, 07:20:40 am »
Thank you, Sorunome :) I'm hoping that others will find it equally appealing. Going to try to set it up so that the animation goes away and it can display a simpler board, for those that want it. Though it's going to be defaulted to all the fancy stuff :p Pending I can make it work. Otherwise, it will just have the full board and be done with it.
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: TI-84+CSE: Connect 4
« Reply #19 on: March 25, 2013, 09:43:28 pm »




All that I think that needs doing is fixing the circles and making it so it doesn't show the animation!
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

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: TI-84+CSE: Connect 4
« Reply #20 on: March 25, 2013, 11:00:08 pm »
Looks quite nice actually. I liked the other version better but this one is faster. :)

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: TI-84+CSE: Connect 4
« Reply #21 on: March 26, 2013, 04:28:20 am »
You get to choose your boards, this is just the simple one. Default is the nice board that takes 30 seconds to generate :)
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline Ranman

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Re: TI-84+CSE: Connect 4
« Reply #22 on: March 26, 2013, 08:21:03 am »
Lookin' good tifreak!

I'm wondering if the CSE has a solid circle already in it's ASCII table.
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: TI-84+CSE: Connect 4
« Reply #23 on: March 26, 2013, 07:58:04 pm »


So! Fast drop works! Found out I need to have it detect from the middles as well! SO! I am going to spend some time expanding the win detection. And then Weregoose can say oh hey, let's take that 1kb of code, and make it 3 lines! And I will walk away in shame. ;) lol

Anyways, on to making the circles prettier.

Edit:



Circles are now the same as the ones 'cut' out of the other board. Only thing I need to do now is to check for winning when the piece falls into one of the two possible middle spots for the 7 directions. Should be fun.

Edit 2:

Added the remaining win checks:



And it doesn't seem to error out where ever you decide to drop the coin, so that's a good thing. Going to try to do a little bit of polishing work with it before I drop it for a public beta. Plus the Readme and all that.
« Last Edit: March 26, 2013, 09:51:05 pm by tifreak »
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: TI-84+CSE: Connect 4
« Reply #24 on: March 27, 2013, 08:38:58 am »
I've uploaded Connect4 to Cemetech Archives and ticalc, it's awaiting approval there.

http://www.cemetech.net/programs/index.php?mode=file&id=884
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

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: TI-84+CSE: Connect 4
« Reply #25 on: April 25, 2013, 12:18:28 am »
So yeah I tried this a few weeks ago and you did a quite nice job :). Of course those who want the board to load fast might prefer using the simple mode, but otherwise the slower mode looks even better. :)

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: TI-84+CSE: Connect 4
« Reply #26 on: April 25, 2013, 04:32:43 am »
Thanks DJ :D I tried to make it the best it could be, without being ASM. :)

I'd also still like to add AI at some point, it's just not on the top of the list of things to do, want to get other things done so I can get back to pokemon!
« Last Edit: April 25, 2013, 04:56:35 am by tifreak »
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: TI-84+CSE: Connect 4
« Reply #27 on: April 25, 2013, 04:46:21 am »
Looks awesome! :D


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Re: TI-84+CSE: Connect 4
« Reply #28 on: April 25, 2013, 09:33:37 am »
Thanks! :D It plays faster than what the screenshot shows, as well!
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

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: TI-84+CSE: Connect 4
« Reply #29 on: April 25, 2013, 08:41:14 pm »
Looking pretty awesome, it is nice to see already games for that new calc :D

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