Author Topic: Tron, now the AI  (Read 2285 times)

0 Members and 1 Guest are viewing this topic.

Offline GreenCoder

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
  • \_/° -> GREEN CODE -> $ -> \_/°
    • View Profile
Tron, now the AI
« on: May 26, 2014, 11:49:15 am »
 Hey Everybody,

As you know, I programmed something Tron-like in TI-Basic.
Due to a reply of Sorunome I wrote a second version of it,
know you are playing against the COM (the AI).
and here it is.

One uses Arrow-Key to play.
Cool Game for just having fun.

For those who don't know Tron:
Just dont touch the COM.

I hope you like my project and please
 
  • ask me if you have any question to my program
  • tell me what I can improve when you find something to (Maby the AI?)
And, yeah I know there are many ifs,thens,elses... at a certain line in my code...

Here:
 



 
« Last Edit: May 27, 2014, 04:01:35 pm by GreenCoder »
Your GreenCoder


Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Tron, now the AI
« Reply #1 on: May 26, 2014, 11:52:33 am »
Nice ! :D

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: Tron, now the AI
« Reply #2 on: May 26, 2014, 11:53:14 am »
Nice ! :D
That. Looking awesome :D

Never been able to program an AI :P

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

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Tron, now the AI
« Reply #3 on: May 26, 2014, 11:53:53 am »
Me neither, but again, I never tried to. :P

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: Tron, now the AI
« Reply #4 on: June 16, 2014, 03:06:30 pm »
Which one's the com?

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Tron, now the AI
« Reply #5 on: June 16, 2014, 03:17:48 pm »
I'm pretty sure it's the one that does diagonals. It must use a path finding algorithm to go towards the player.