Share your repls and programming experiences

← Back to all posts
Game AI (Turtle Tag)
omarfarag

I made this game for the game competition. If you choose the 1 player option, you will play against the bot. Recommendations for improvements, optimizations and bug fixes are appreciated.

https://repl.it/@omarfarag/Turtle-Tag-v6

Voters
ebest
JakeTurton
AntonioToni
redstonesteve
GregoryLaChance
BestBerry
Logimite
DarkBlueWall
gramatgesj21
DexieTheSheep
Comments
hotnewtop
AhmedSharif

this is so cool!

omarfarag

@ahmedsharif: Thanks

Noah_Willsher

It's really cool, however hard to control. I would recommend slowing down the forward movement and making the turns much tighter. Other than that, great game!

omarfarag

@noahwillsher: I'll try to make the movement better, thanks for the feedback

_Sniper_Turtle_

@omarfarag: AI is glitchy. It was just getting free points, like 3 per sec whenever it refreshed, and I got no points.

omarfarag

@sniperturtle: When the AI is running away, it is supposed to gain points and you are not. When the AI tries to catch you, you are supposed to accumulate points. If that is still not happening, would you mind informing me how and when it happens?

JoshDaBosh

TKinter would provide a better GUI and the constant refresh is a bit annoying, especially since it is really noticable

omarfarag

@joshdabosh: I have yet to learn TKinter. However, I will look into it.

omarfarag

@joshdabosh: Tkinter doesnt seem to work on repl.it with me. Is this the case for everyone?

JoshDaBosh

@omarfarag: It makes sense as to why repl.it has no TKInter: there is simply no way of opening up other windows. Allowing so would reveal a whole bunch of security issues, as you could call PowerShell from repl.it. Still, I recommend trying it with the normal python IDE as it is a good skill to have (I gotta do it too lol)

omarfarag

@joshdabosh: Alrighty, I'll look into it. Thanks

Mohanad_Alaas

It's a good game, a couple minor bugs and one major bug but this isn't really a bot?

omarfarag

@mohanadalaas: It is a game bot as it runs awat from you and chases you automatically.

omarfarag

@mohanadalaas: Mind mentioning the bugs so I can get down to fixing it?

Mohanad_Alaas

@omarfarag: Yes sure, When you back and colid both turtles in to the wall it glitches out and stays there and also increases score insanely.

Mohanad_Alaas

Btw I need more opinions on my bot, Would you mind checking it out?

Sneaker Bot

omarfarag
omarfarag

@mohanadalaas: It's not really a glitch, it's the bot being smart and not getting caught. However, since I guess it makes the game unbalanced, I'll try to fix it. Thanks