Tank Turns (A project of mine)

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Drachlen
Forum Contributor
Posts: 153
Joined: Fri Apr 25, 2003 1:16 am

Tank Turns (A project of mine)

Post by Drachlen »

Hey everyone.

I've been working on a project lately that has just recently gone public and I thought I'd share.

First, hopefully to avoid being deleted for spamming--I figured it's kind of relevant, as I got my start programming PHP on this very forum many years ago. I haven't been around much lately, but I'd definitely consider devnetwork to have been one of the major influences in my learning of PHP.

Plus, I'm really excited about the project and I'd really like to share!

So, the game client is pretty much entirely JavaScript, with all the server interactions being handled with PHP. It's been tested in the major browsers, but it still can be buggy at times. It's a work in progress.

Tank Turns is a turn-based strategy game. Currently, you play against a single opponent. Each player puts their "action queue" in ahead of time, ends their turn, and the game plays back the actions simultaneously. The strategy comes from predicting your opponent's movements ahead of time.

Without further ado: http://www.tankturns.com

It's still very new, so it might be tough to get a match against someone. If I'm around I'll play against anyone I see, though.

Definitely would love any comments or criticism on the whole thing.

Thanks for checking it out!
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: Tank Turns (A project of mine)

Post by Darhazer »

First of all, it's not clear which tanks is yours. You are pressing the up key, but nothing happens, because you are the tank above and you have to go down. The images should be preloaded - first time I turn my tank left or right I got blank square and then it's replaced with the new image. The graphics are too small in my opinion. If the movement can be smooth, it will be great. And, I expect up arrow to go forward and not up ;)
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Tank Turns (A project of mine)

Post by josh »

Tried to use it. It says to find the "game list". I failed in doing so.
Drachlen
Forum Contributor
Posts: 153
Joined: Fri Apr 25, 2003 1:16 am

Re: Tank Turns (A project of mine)

Post by Drachlen »

Darhazer wrote:First of all, it's not clear which tanks is yours. You are pressing the up key, but nothing happens, because you are the tank above and you have to go down. The images should be preloaded - first time I turn my tank left or right I got blank square and then it's replaced with the new image. The graphics are too small in my opinion. If the movement can be smooth, it will be great. And, I expect up arrow to go forward and not up ;)
Good points here. I actually have different colored tank tiles but I haven't decided on the implementation of identifying which tank you are. Since eventually there will be more players, I've considered floating nametags as well.

It also does have a preloader but apparently it's not working, so I'll have to take a look at that. Thanks :D
josh wrote:Tried to use it. It says to find the "game list". I failed in doing so.
Mind sharing what steps you took? Perhaps the interface is not quite as intuitive as I thought.

If you just load http://www.tankturns.com/play/ You're at the game list once you log in. This is the page where you join or host a game.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Tank Turns (A project of mine)

Post by josh »

Yeah I eventually got a game.

1) You need "no games at this time, click here for new game" when theres no results on the game list
2) After I start a game I can't do anything because I have no opponent yet. Maybe let me drive around and blow crap up while I wait?
Drachlen
Forum Contributor
Posts: 153
Joined: Fri Apr 25, 2003 1:16 am

Re: Tank Turns (A project of mine)

Post by Drachlen »

josh wrote:1) You need "no games at this time, click here for new game" when theres no results on the game list
There is actually a message that says "No games to join? Try hosting one!"
What browser were you using? It possibly wasn't displaying itself due to a bug.
josh wrote:2) After I start a game I can't do anything because I have no opponent yet. Maybe let me drive around and blow crap up while I wait?
Yeah, I think I can do this. You'll only be able to put a single queue in, though. If I add this, I should also add some kind of alert to let the user know the next round has started. Actually, I should probably add that regardless.


Thanks for taking a look. :D
Post Reply