Join us on Discord!
You can help CodeWalrus stay online by donating here.

Connect4 for TI z80 models ,programmed in TI-Basic, AI included

Started by unregistered, March 13, 2017, 09:53:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

unregistered

Hello there!
This time I propose you Connect4  I programmed this afternoon.



It's written in TI-Basic and include an AI, yes you'll have to play against the TI !
I've optimised the program in order not to be sooooo slooooow (I achieved 3 seconds for the TI to think & play)
Will you succeed ?..
Have fun  ;D

EDIT: the game has been renamed "Connect4" & now contains english sentences ;)

Dream of Omnimaga

I was surprised since you normally don't do TI-BASIC. This looks nice and polished for ASCII homescreen. By the way, in English the official name for this game is Connect Four, I think. :)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

unregistered

ah, thanks ! I 've just modified ;)

p2

an english language pack (or language menu) would me awesome ;D
but I agree the UI looks really lovely ^^
did u have to chose between a genius and a fast AI in the game, or is it still a good one but still fast enough? ^^
Seen many games where the AI had to be made more stupid again because the speed killed the game :/
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

unregistered

Update : Now in english , also renamed Connect4 :)


p2

  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

unregistered

English only  :)
As today I noticed that ElseIfThen (member of Tiplanet too) had already posted his program named..."Puissance4" just a few days before my program, I decided to rename mine into "Connect4" in order to avoid any confusion ...& also translated the few sentences in english ;)

Powered by EzPortal