196
TI Z80 / Re: Snake - ClrDraw
« on: August 13, 2014, 12:45:43 pm »
Code Golf Contest #5, anyone?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to. 197
Community Contests / Re: Code Golf Contest #4« on: August 12, 2014, 06:14:05 pm »Byte, char, same thing when multi-byte-characters are not present in most of the computer lang entries.Not really. You can use ASCII substitutions. In any case, you aren't saving bytes by using multi-byte Unicode characters instead of normal multi-byte character sequences.I can't think of a language that requires Unicode to use a feature.HP PPL? 198
Community Contests / Re: Code Golf Contest #5« on: August 12, 2014, 05:21:51 pm »
I actually DID do 1pxl for TI-84+CSE BASIC. Hey, I DID say "largest possible size" (165*165 pxl)!
199
Community Contests / Re: Code Golf Contest #5« on: August 12, 2014, 05:13:58 pm »
I would have a 63*63 board for TI-83+ BASIC, but that would break the rule of "border, food, and snake graphics must be different". And I have a ~280 byte one in TI-83+ BASIC, but it breaks the rule of "largest possible board". Oh, the things I do to myself...
200
Community Contests / Re: Code Golf Contest #5« on: August 12, 2014, 01:31:10 pm »...... What unclear rule? Also, this: 201
Community Contests / Re: Code Golf Contest #5« on: August 12, 2014, 11:02:33 am »it is. 9x9.Should've responded to you. Oh, and I have 2 entries of my own. They are board size 21*21 and 165*165, respectively. They are the largest square boards for their platforms that fit the rules. 202
Community Contests / Re: Code Golf Contest #5« on: August 12, 2014, 10:31:06 am »It was the pastebin on the IRC PMOh, that's why you sent it to me there. Well, I mean forum PM from now on. Just like last contest. Also, check that your board is square. 203
Community Contests / Re: Code Golf Contest #5« on: August 12, 2014, 10:25:26 am »Anyway, submitted....then where's the PM? 204
Community Contests / Re: Code Golf Contest #5« on: August 11, 2014, 07:17:42 pm »I believe I had something like that, except 100 bytes smaller. 205
Community Contests / Re: Code Golf Contest #5« on: August 11, 2014, 06:32:45 pm »That's really not simple at all for any terminal-based language. Input for those languages is not handled in real time. Imagine making a basic snake with only input, not getkey, and you'll be pretty much spot on.Is there a command like CHOICE? http://ss64.com/nt/choice.html If there is one of that kind of command, it should be simple enough. 206
Community Contests / Re: Code Golf Contest #4« on: August 11, 2014, 06:32:39 pm »You should move the deadline to 11:59 PM instead of 12 AM, because from experience when I organized Omnimaga contests, even experienced programmers and TI community veterans would mix up 12 AM with 12 PM and it was even more confusing for people living in different timezones.It's 1:00 AM EST. It's a simple lookup online. 207
Community Contests / Re: Code Golf Contest #5« on: August 11, 2014, 06:18:07 pm »
That's great!
208
Community Contests / Re: Code Golf Contest #5« on: August 11, 2014, 06:14:22 pm »What are the rules on how input must work? All the languages I've been using so far don't support raw input without libraries, and it would be faster to do it via line based input, but also much worse.I will install perl or python, whichever I get submissions for. I will, however, have to see an animated screenie of any entries of Nspire Lua and any other language I can't test. If you press a certain key, the snake goes a certain direction. If no key is pressed, the snake keeps going in its current direction. That's how input works. Plain and simple. Like getKey for TI-BASIC, or some complicated sequence with CHOICE for Batch. Also, yes, Adriweb, that is how it works. 209
Community Contests / Re: Code Golf Contest #5« on: August 11, 2014, 04:02:06 pm »Well, I mainly meant that if you output text in a command line larger than the area you use, it may show garbage on the edges, like the remainder of previous frames.I think you can assume that the window is at least 8*16, but if you want to change the window size to a certain number, you can. 210
Community Contests / Re: Code Golf Contest #5« on: August 11, 2014, 03:46:53 pm »Coded golf 5? Does that mean 4 is over already?It doesn't matter the size of the window as long as the play area is 8 snake pieces tall and 16 snake pieces wide. And yes, you can use ASCII graphics. |
|