Be a Supporter!

The Flash 'Reg' Lounge

  • 1,926,113 Views
  • 64,469 Replies
New Topic Respond to this Topic
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-21 16:51:30 Reply

This bot... I need some aspirin -.-'

At 10/21/12 04:27 PM, Sandremss128 wrote: So, egg82: What if our bots are positioned facing each other and your bot starts firing at mine, my bot doesn't move until the very last second to dodge the bullet, does this mean that all the current bullets on the screen will already miss (so far the 'pattern' of my bot would have been to not move)? If so you're at a considerable disadvantage already.

I thought about something like that before. My initial strategy was to categorize the different behaviors of bots, and i'll be using some of that here. I know I said there's no categorization with my bot, so i'll amend that to: there's very little categorization with my bot.

A bullet dodge is a bullet dodge is a bullet dodge to my bot.

I'm not making a bot that does the same pattern every time, it will react on your moves and by the time that you've cracked the pattern (which I doubt to what extend you're able to do this, it might actually be more complex than making a strong bot) your bot is at such a disadvantage mine will be able to take your fire because of the advantage in resources it has accumulated.

again, this is where the basic categorization comes in. Here are the categories:
away from player
toward payer
away from mine
toward mine
away from bullet
toward bullet
time

minus looking at opposites, each one is a separate category and each has its own point value. Decisions about attacking are based partially on this.

I'm just interested to know what your strategies are considering this.

mhm, I want my bot to get beaten :3
(but of course, i'm not going to make it easy)

Also the pattern you've build during the 4 or 3 bot FFA (free for all) might become obsolete as I have very different ideas about each situation (4 FFA, 3FFA, and 1v1).

the bot was designed with different situations in mind. It handles any type of situation well, as long as some basic rules stay the same:
1. That there's another bot of any kind on the screen.
2. That there's bullets
3. That there's mines
4. That there's no other additions to the game

remember: it analyzes and predicts on-the-fly, so changing strategies isn't an issue.

also, be aware that tracking and predicting movement isn't going to be its only trick. It tracks and analyzes literally everything that happens.


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-21 18:54:21 Reply

I got a headache trying to do all this prediction stuff, so i'm going to do something easier for the rest of the day. I feel i've made enough progress to call it a day on that project, anyway.

maybe i'll get back to work on loading 3D objects from a server, or even go for my dynamic mesh idea.

Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-21 21:19:35 Reply

At 10/21/12 06:54 PM, egg82 wrote: easier
maybe i'll get back to work on loading 3D objects from a server, or even go for my dynamic mesh idea.

Wut?

Easier for me is playing Dota 2...The only reason I'm not doing a major in computer science is because I HATE staring at code all day long. And Java hw this week is annoying cuz they won't let me code it how I want. Idk why, but I have a thing against swapping array elements and making that temporary var. I'll do it if I have to, but they want us to use the tips n' tricks from class instead of creativity or experience :(

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-21 21:38:07 Reply

At 10/21/12 09:19 PM, MSGhero wrote: Wut?

have you ever tried making an AI that can predict the outcome of a battle with other AI within 20 moves? I think learning rocket science would be easier O.o

but in all seriousness, i've talked to a few knowledgeable people on the subject and i'm surprised at the amount of people who don't believe that I can do something like this. In fact, i've gotten exactly zilch for information from these people, and it just adds to the frustration -.-'

Easier for me is playing Dota 2...The only reason I'm not doing a major in computer science is because I HATE staring at code all day long. And Java hw this week is annoying cuz they won't let me code it how I want. Idk why, but I have a thing against swapping array elements and making that temporary var. I'll do it if I have to, but they want us to use the tips n' tricks from class instead of creativity or experience :(

i'm kinda with you there. I'm more the guy that writes pseudo-code and solves all the run-ins with logic that everybody has. I can design an AI like this just fine and even bring it down to the code level, but when I try to write it I run into problems like "how do I get the angle from point a to point b?" and I spend most of my time testing math equations that i've never even heard of before. (the hell is a sine?)

as for the whole "you have to do this" thing, I agree with the fact that you should be allowed some more freedom, but at the same time the school does have a standard which they have to meet (or they risk being shut down)


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-21 22:20:45 Reply

At 10/21/12 09:38 PM, egg82 wrote: i'm kinda with you there. I'm more the guy that writes pseudo-code and solves all the run-ins with logic that everybody has. I can design an AI like this just fine and even bring it down to the code level, but when I try to write it I run into problems like "how do I get the angle from point a to point b?" and I spend most of my time testing math equations that i've never even heard of before. (the hell is a sine?)

I have a hard time bringing logic like AI down to the code level when there's too much freedom. Like, non-tile-based pathfinding makes me sad. The most I've done was behavior of enemies in my RPG, but I can't really test if it's good or not because I don't have all the skills worked out with my writer yet! I'm fine with math :D

Innermike
Innermike
  • Member since: Sep. 11, 2009
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to The Flash 'Reg' Lounge 2012-10-21 22:43:29 Reply

At 10/21/12 09:38 PM, egg82 wrote:
At 10/21/12 09:19 PM, MSGhero wrote: Wut?
have you ever tried making an AI that can predict the outcome of a battle with other AI within 20 moves? I think learning rocket science would be easier O.o

Confidence is one thing but this is getting ridiculous. If your AS wars bot doesn't cure cancer and fix my sink I'll be disappointed.


nobody

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-21 22:47:36 Reply

At 10/21/12 10:20 PM, MSGhero wrote: I have a hard time bringing logic like AI down to the code level when there's too much freedom. Like, non-tile-based pathfinding makes me sad. The most I've done was behavior of enemies in my RPG, but I can't really test if it's good or not because I don't have all the skills worked out with my writer yet! I'm fine with math :D

well, i'm not really the "idea guy" but if I see or think of a good idea that wasn't in the design specs, i'll usually try to find a way to worm it in. Otherwise I leave all that to whoever else.

I never passed highschool (Good Enough Degree) and I never made it through algebra 2, so i'm definitely lacking in the math department.


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-21 22:55:47 Reply

At 10/21/12 10:43 PM, Innermike wrote: Confidence is one thing but this is getting ridiculous. If your AS wars bot doesn't cure cancer and fix my sink I'll be disappointed.

what a coincidence, I was just working on my "cure cancer" function!
I named it "saveGrandma" to be cute.


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-21 23:11:50 Reply

still easier than a "predictor" AI

The Flash 'Reg' Lounge


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
Toast
Toast
  • Member since: Apr. 2, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to The Flash 'Reg' Lounge 2012-10-22 02:37:51 Reply

For next AS war of "shoot, move, heal" type, I suggest circle bots and square/rectangle bots with ability to rotate.


BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-22 11:19:07 Reply

At 10/22/12 02:37 AM, Toast wrote: For next AS war of "shoot, move, heal" type, I suggest circle bots and square/rectangle bots with ability to rotate.

why would you waste your turn rotating?


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
Toast
Toast
  • Member since: Apr. 2, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to The Flash 'Reg' Lounge 2012-10-22 11:49:35 Reply

At 10/22/12 11:19 AM, egg82 wrote: why would you waste your turn rotating?

You're trying to build a Skynet for your AS bot, and yet you want me to explain to you the merit of adding an extra degree of freedom to make bullet dodging slightly more elaborate?


BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-22 11:57:26 Reply

At 10/22/12 11:49 AM, Toast wrote: You're trying to build a Skynet for your AS bot, and yet you want me to explain to you the merit of adding an extra degree of freedom to make bullet dodging slightly more elaborate?

mhm.
It just doesn't make much sense, and would result in the battles becoming slower and more clunky.
(plus that's another thing that i'd have to track)


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
Archawn
Archawn
  • Member since: Sep. 9, 2007
  • Offline.
Forum Stats
Member
Level 27
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-22 12:08:52 Reply

At 10/20/12 12:08 PM, Innermike wrote: Also, can we start an argument about how 'haXe' is pronounced please?

Hacksay :D

More controversial is the pronunciation of 'LaTeX'
MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-22 14:27:20 Reply

At 10/22/12 11:49 AM, Toast wrote: You're trying to build a Skynet for your AS bot

What began intended as a simple weekend programming challenge eventually took over the world...

At least it also cures cancer. Who knew it was as simple as returning a blank Cure vector?

Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Supporter
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2012-10-22 16:43:17 Reply

At 10/19/12 07:59 AM, Toast wrote: Stuff

Hey toast!


- Matt, Rustyarcade.com

Toast
Toast
  • Member since: Apr. 2, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to The Flash 'Reg' Lounge 2012-10-22 16:47:26 Reply

At 10/22/12 04:43 PM, Rustygames wrote:
At 10/19/12 07:59 AM, Toast wrote: Stuff
Hey toast!

Hey buddy, what've you been up to? Seen you a couple times here throughout the years but I don't think we talked. Btw, is it true you met Keith IRL at work?


BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-22 17:36:34 Reply

At 10/22/12 02:27 PM, MSGhero wrote: What began intended as a simple weekend programming challenge eventually took over the world...

mwahahahaha >:D

At least it also cures cancer. Who knew it was as simple as returning a blank Cure vector?

it cures everything from 1 to fish!


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Supporter
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2012-10-22 18:25:47 Reply

At 10/22/12 04:47 PM, Toast wrote:
At 10/22/12 04:43 PM, Rustygames wrote:
At 10/19/12 07:59 AM, Toast wrote: Stuff
Hey toast!
Hey buddy, what've you been up to? Seen you a couple times here throughout the years but I don't think we talked. Btw, is it true you met Keith IRL at work?

Ah yeah. That was a few years ago now. He came for an interview at the company I worked for and was a little shy! Awkward moment all around. Also didn't get the job :(


- Matt, Rustyarcade.com

Toast
Toast
  • Member since: Apr. 2, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to The Flash 'Reg' Lounge 2012-10-22 18:26:56 Reply

It's nice that we are still having community efforts like AS wars given the less active state of these forums. I'll give this one a try. How do I start writing my run function and "instantiate" my bot in the AS2 framework provided?


BBS Signature
Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Supporter
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2012-10-22 18:30:15 Reply

At 10/22/12 06:26 PM, Toast wrote: It's nice that we are still having community efforts like AS wars given the less active state of these forums. I'll give this one a try. How do I start writing my run function and "instantiate" my bot in the AS2 framework provided?

Whatever happened to Inglor?


- Matt, Rustyarcade.com

Toast
Toast
  • Member since: Apr. 2, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to The Flash 'Reg' Lounge 2012-10-22 19:23:36 Reply

At 10/22/12 06:30 PM, Rustygames wrote:
At 10/22/12 06:26 PM, Toast wrote: It's nice that we are still having community efforts like AS wars given the less active state of these forums. I'll give this one a try. How do I start writing my run function and "instantiate" my bot in the AS2 framework provided?
Whatever happened to Inglor?

Man, god, I'm knee-deep in reading through old posts again from nostalgia. All the shenanigans with Inglor were freaking hilarious. The days of msn raids and mass spam. Last time Inglor posted here, I asked him what he's up to and if he'd stay a while on NG, but he said he's just popping to say hi and he doesn't have time to stay here. Gave no answer about his whereabouts or what he's up to, though. And so much was going on! I'm pretty sure he moved to israel at some point, and also we had this big party thing about his engagement - though now that I look back at it and I'm not 12 anymore, it seems a bit weird. He was 19 at the time. Christ, I'm 19 right now. No way he was really engaged to his girlfriend.

Almost all the regs are gone by now, and many of them come for a "yearly post" on the reg lounge. I don't even see Paranoia around anymore, and he's been here pretty much non-stop since 05 except a few months of intensive uni courses. Liam has been gone for a year or two, also. I felt like Gust was still around, just not posting much. But further inquiry shows he hasn't been active in 1.5 years O_o Glaiel posts here from times to times about closure or gay stuff like his smart algorithms and programming work. Even Luis barely comes around.

Mostly current regs are 2-3 generations from the 05 boom. Oh yea and Sam (saza) is still here.


BBS Signature
Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Supporter
Level 19
Programmer
Response to The Flash 'Reg' Lounge 2012-10-23 16:01:27 Reply

At 10/22/12 07:23 PM, Toast wrote: Stuff

Yeah I've seen those guys posting on here a bit. I'm the same as you, read it every now and again but rarely post.


- Matt, Rustyarcade.com

Innermike
Innermike
  • Member since: Sep. 11, 2009
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to The Flash 'Reg' Lounge 2012-10-24 16:25:46 Reply

Handling and transitioning between different game states and sub states is probably my least favourite thing to do.


nobody

MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-24 17:14:19 Reply

At 10/24/12 04:25 PM, Innermike wrote: Handling and transitioning between different game states and sub states is probably my least favourite thing to do.

It's so easy when you use a state machine :)

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-24 19:48:00 Reply

i'm getting so distracted with Dragon Age:Origins - at this point i'm just trying to finish the game quickly so I don't keep thinking about it while programming.


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-25 17:03:59 Reply

At 10/24/12 07:48 PM, egg82 wrote: i'm getting so distracted with Dragon Age:Origins - at this point i'm just trying to finish the game quickly so I don't keep thinking about it while programming.

i've decided to drop out of the ASWars. It's fun and all, but I don't have the math skills required to create the bot that I want in the time allocated. I may continue to work on it outside of ASWars if I have time.

The largest problem was pressure. I do absoluely terribly under pressure. I kept saying everything it was going to do and I started seriously doubting myself, so I procrastinated until it was too late.

besides, it frees me up to finish my homework, and that in turn frees me up to do something that I can take with me (like GoO)

so I suppose if I had an unlimited amount of time to do something in I can do just about anything I set myself to do in a reasonable amount of time, but if there's a limited time then I doubt myself and automatically set myself up for failure.
Must remember to work on that...


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
MSGhero
MSGhero
  • Member since: Dec. 15, 2010
  • Offline.
Forum Stats
Supporter
Level 16
Game Developer
Response to The Flash 'Reg' Lounge 2012-10-25 17:15:17 Reply

At 10/25/12 05:03 PM, egg82 wrote: i've decided to drop out of the ASWars. It's fun and all, but I don't have the math skills required to create the bot that I want in the time allocated. I may continue to work on it outside of ASWars if I have time.

Aww, we were gonna have our bots specifically target yours first.

Y'know, when I actually start mine...too busy with hw and looking for research and adding a minor and junk

23450
23450
  • Member since: May. 28, 2003
  • Offline.
Forum Stats
Member
Level 27
Blank Slate
Response to The Flash 'Reg' Lounge 2012-10-25 17:23:26 Reply

I'm bored. Wanted to slap this project up some time. Persistent world, pseudo-multiplayer, narrative based side scroller. If someone plays in the next little bit, I will play with them. Anyone can join.

WASD to move. Hold space to add light to the world. You have limited light. Multiple people required to finish it. Some sound is in it.

Play Here

World will be completely dark as of this post. Any light you see will have been created by another person. Nothing crazy, but it was fun to make and present.


BBS Signature
Toast
Toast
  • Member since: Apr. 2, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to The Flash 'Reg' Lounge 2012-10-25 18:24:42 Reply

At 10/25/12 05:03 PM, egg82 wrote:
At 10/24/12 07:48 PM, egg82 wrote: i'm getting so distracted with Dragon Age:Origins - at this point i'm just trying to finish the game quickly so I don't keep thinking about it while programming.
i've decided to drop out of the ASWars. It's fun and all, but I don't have the math skills required to create the bot that I want in the time allocated. I may continue to work on it outside of ASWars if I have time.

I disagree. Regardless of whether you continue working on your bot or not in your free time, you DO need to submit something in on monday. There's already low participation as it is, I don't need to remind you of the current state of the NG BBS flash community. You don't have to win. You don't have to make the best bot. You're not the favorite to win the tournament. You may win. But you might also lose. Enter the AS wars for the purpose of each year's AS wars: interact with your community, have fun, and most importantly: participate in a unique event of seeing a creation of yours try to obliterate your friends' creations with lasers and mines - an event that you might not have the chance to participate in many times in your life.

No one here is spending day and night making their bots. As much as some of us might be competitive in nature and may want to win this thing, no one's gonna make a perfect bot. The end result will be a bunch of bots, some better than others, but most importantly all different from each other, and interesting battles will come not from the greatest bot, but from badly programmed bots, and bots with cheeky strategies to compensate for lack of math skills etc.

Do enter the AS wars. Finish whatever you can, it doesn't matter how good it is, it only matters that you submit something that can walk and shoot on monday.


BBS Signature