# Maybe a simple AS battle?

**URL:** <https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533>\
**Category:** Uncategorized\
**Created:** [June 5, 2003, 3:42am UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533 "2003-06-05T03:42:30Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![zylum](https://avatars.discourse-cdn.com/v4/letter/z/d26b3c/32.png) [@zylum](https://forum.kirupa.com/u/zylum)\
**Post date:** [June 5, 2003, 3:42am UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/1 "2003-06-05T03:42:30Z")

</div>

im still not too confident with my actionscripting abilities but i’d be up for a simple AS battle. maybe a max of 25 lines and a simple theme. maybe make a simple game like pong or mastermind… i think it shouldn’t be purely actionscript, movieclips should be allowed. this battle shoulde be something that intermediate actionscripters like me can handle

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 15, 2003, 8:47pm UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/2 "2003-06-15T20:47:58Z")

</div>

no is interested? ☹

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 1:49pm UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/3 "2003-06-16T13:49:14Z")

</div>

If you’re interested: [http://www.kirupaforum.com/forums/showthread.php?s=&threadid=25157&goto=nextnewest](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=25157&goto=nextnewest)

pom =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 1:56pm UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/4 "2003-06-16T13:56:03Z")

</div>

my idea was way more complicated and unrealistic though.  
I think zylum is onto something. Count me in. 25 lines is a lot more reasonable than a whole OOP interactivity thing.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 9:24pm UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/5 "2003-06-16T21:24:31Z")

</div>

great! finally a contestant. just a few more and we can get started… anyone have any ideas on a theme?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 1:05am UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/6 "2003-06-19T01:05:49Z")

</div>

can you write mastermind in 25 lines??  
does this include a computer opponent?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 3:19am UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/7 "2003-06-19T03:19:31Z")

</div>

i bet i could but it wouldn’t be formatted properly and it would be impossible to read… isn’t mastermind a one player game though?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 3:28am UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/8 "2003-06-19T03:28:17Z")

</div>

well sort of. I didnt really think about that. :-/

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 9:19am UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/9 "2003-06-19T09:19:44Z")

</div>

MasterMind in 25 lines? It would be a mess :-\ (2 days ago I would have said impossible, but someone at werehere did chess in 25 lines…) There’s no point in producing code that is impossible to read, I think, it’s better to keeps things simple 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 3:05pm UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/10 "2003-06-19T15:05:13Z")

</div>

well, it’s not _impossible_…

i mean you could put everything in one line 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 3:18pm UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/11 "2003-06-19T15:18:48Z")

</div>

chess in 25 lines? that IS impossible :hair:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 3:25pm UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/12 "2003-06-19T15:25:17Z")

</div>

yeah, i would have to agree. i had to write a c++ program that played chess and with all the rules in that game, 25 lines wasn’t merely enough. that was the length of one of my smaller functions. that person that created it must’ve put a lot of code on single lines.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 19, 2003, 11:45pm UTC](https://forum.kirupa.com/t/maybe-a-simple-as-battle/22533/13 "2003-06-19T23:45:51Z")

</div>

well you dont NEED newlines to write code. They just help you see what you’re doing better 😉 you can pretty much ditch any new line with the use of seperation by ; or {}

😉

25 is pretty popular for AS battles. bit-101 seems to have had a few. We did some back at the old WH and recently I made an Artificial Life example over at [as.org](http://as.org) in about 11 lines.

It kind of sucks though when you need to start ‘cheating’ to lessen the lines you use. 😉
