Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Builderboy on July 04, 2012, 07:25:56 pm

Title: [Contest] Vortex 2.0
Post by: Builderboy on July 04, 2012, 07:25:56 pm
  Well I have finally crossed the threshold I set for myself!  I have been working on a contest entry for some time now, but have not been sure whether or not I would be able to finish it due to having a full time job and not that much free time.  However, I have just finished the major part of the AI that has me decided that this will be released in time for the contest after all!  So behold!

Vortex 2.0 is a complete reboot of my old Basic Vortex (http://www.ticalc.org/archives/files/fileinfo/409/40947.html) game, using the power of Axe to bring the concept to the next level!  You start the game in one corner of the large map, with nothing but a lousy pistol to defend yourself with.  In order to win, you must destroy your opponent.  You can do so with your pistol, but the real fun starts when you start finding chests of cash scattered all over the battlefield.  You can use this money to buy upgrades, weapons, items, or even spells!  You can upgrade your lousy pistol's speed to get a machine gun, or you can invest in high cost spells to defeat your opponent.  Maybe you invest in speed and agility upgrades to out-maneuver your opponent, the combinations are endless!

AI

Now, unlike the original basic game, this version will have a devious AI that you can battle against when you don't have a friend to play with (And yes, you will be able to play with a friend over a link cable!  Although probably not for the contest entry).  The AI is what is going to make this game truly fun to play, as it has many advanced algorithms that go into making it work:

1) At it's heard is a modified A* path-finding algorithm.  I say modified because the AI does not solve for the most efficient path once and then follow it.  He is constantly correcting for new information and updating the planned path according to new data, like area's he discovered or movements of you, the player!

2) Danger detection is another important role that has been integrated directly into the path-finding algorithm.  As an AI battling you, he needs to know when an area is safe to enter.  If you are standing nearby, the AI needs to consider whether or not he will be able to escape if you decide to attack, and path accordingly. 

3) Dynamic build-order code helps the AI choose good combinations of items, while at the same time keeping him flexible and reactive to opportunities or dangers that can arise due to how the game is playing out.  For instance, if a large number of chests are near the center, he might purchase a speed upgrade sooner in order to get there before you do.

Terrain

A large part of the game that could be overlooked is the map itself, what will it look like?  Vortex 2.0 has an advanced procedurally generated terrain complete with blocks of land, chests, and various walls that fill the map.  While not technically an AI, the dynamic nature of the terrain generator should help make for a game with a great replay value.

More information and screenshots will be released as the deadline grows closer, but for now here is a screenshot of the AI pathing through the map to find all of the chests, and then heading to the bottom right corner of the map.  All of the tiles with a single pixel are the tiles being currently considered by the pathing algorithm, and the darkened boxes are the tiles currently chosen for an ideal path. 
Title: Re: [Contest] Vortex 2.0
Post by: aeTIos on July 04, 2012, 07:34:33 pm
...aaand as always, epic project.
Title: Re: [Contest] Vortex 2.0
Post by: squidgetx on July 04, 2012, 07:46:10 pm
Ah, competition! /me goes back to coding
Title: Re: [Contest] Vortex 2.0
Post by: Builderboy on July 04, 2012, 07:51:09 pm
Haha I thought you said you weren't going to enter? :P
Title: Re: [Contest] Vortex 2.0
Post by: squidgetx on July 04, 2012, 08:51:05 pm
Haha I thought you said you weren't going to enter? :P
I never said that ??? (http://ourl.ca/16269)
Title: Re: [Contest] Vortex 2.0
Post by: TIfanx1999 on July 04, 2012, 08:54:05 pm
Wow, Builderboy surprises with a late entry... that looks quite good too!  O_O Good luck! =)
Title: Re: [Contest] Vortex 2.0
Post by: shmibs on July 04, 2012, 09:39:55 pm
=0
this contest is going to be fantastic =D
Title: Re: [Contest] Vortex 2.0
Post by: Builderboy on July 04, 2012, 10:02:06 pm
Oh blarg I was getting you and shmibs mixed up D:
Title: Re: [Contest] Vortex 2.0
Post by: DJ Omnimaga on July 05, 2012, 01:50:04 am
Interesting. Hopefully you get enough time to finish it.
Title: Re: [Contest] Vortex 2.0
Post by: turiqwalrus on July 05, 2012, 09:08:08 am
sweet :D
great to see you coding more, builder ;)
Title: Re: [Contest] Vortex 2.0
Post by: Builderboy on July 08, 2012, 04:52:19 pm
Aright, now that I have submitted a version to the contest, here is a little video showcasing some of the gameplay and several of the shop items from the game!


For now I am going to be working (slowly) on improving the AI, reducing file size, adding in link-multiplayer, and possibly even a replay system!
Title: Re: [Contest] Vortex 2.0
Post by: shmibs on July 08, 2012, 09:18:42 pm
why are you able to shoot so much more rapidly than i can? i can only fire ~one bullet a second (although rebuilding blocks works at the proper speed)

EDIT: oh, and i'm very impress with the randomly-generated levels =)
Title: Re: [Contest] Vortex 2.0
Post by: Builderboy on July 08, 2012, 09:59:10 pm
You can buy upgrades that increase your rate of fire (Extra clip), which the AI does regularly, since it is such a good cost effective upgrade.  And thanks about the randomly generated levels :D It was based on work I've done in the past in Axe, and I really like the way it turned out in the end
Title: Re: [Contest] Vortex 2.0
Post by: LincolnB on July 08, 2012, 10:55:08 pm
This is amazing, and one of the funnest calc games I think I've ever played - but, it didn't have a lot of replay value given the primitive AI. However, if it had multiplayer link-port I would a) steal your code, and b) worship you forever.