Alternatively, 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 grosged, March 13, 2017, 09:53:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

grosged

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 ;)

DJ 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-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

grosged

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)

grosged

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)

grosged

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