You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server
Administration Center

Show posts

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.

Topics - _iPhoenix_

#1
Web / Village
October 15, 2018, 11:13:02 AM
So apparently I don't have a thread for my current project here. Dang.


Village is my long-term project. It's an Esolang where you are a village chief and you get to command people around and do things. It's a lot of fun.


Here's a basic "hello, world" program:
Call for the villager named Ada.
Tell Ada to write the text "Hello, World!" on her scroll.
Tell Ada to post her scroll to the Community Message Board



Pretty simple!


Villagers can have occupations.
Call for the villager named Alan.
Teach Alan how to gather wood.


Note: This next task takes 3 successful lines of code to complete.
Tell Alan to gather 20 wood.


Note: waste 3 commands.
Call for the villager named Ken.
Teach Ken how to draft blueprints.
Tell Ken to make a blueprint for a railroad to the North village.


Note: At this point, Alan's done getting wood.
Tell Alan to write the text "I have " on his scroll.
Tell Alan to write the amount of wood he has on his scroll.
Tell Alan to write the text " wood." on his scroll.
Tell Alan to post his scroll to the Community Message board.


Not all of the features are officially documented yet, with the main undocumented feature being Ask commands, aka conditionals. They are explained pretty well in my Cemetech topic:
[spoiler=large quote]
QuoteSyntax: Ask [villager name] if [he/she] has [quantity] [item type].

That's a little weird, so here's an example: (Oh yeah, I added a female villager, Ada, named after Ada Lovelace)

Call for the villager named Ada.

Ask Ada if she has any stone.
- If she doesn't:
- Tell Ada to write the text "I do not have stone" on her scroll.
- If she does:
- Tell Ada to write the text "I have stone" on her scroll.
Tell Ada to post her scroll to the Community Message Board.


As you can tell, there are a few things going on here.
Call for the villager named Ada. makes Ada available for us to use. Because of my current crappy occupation-selecting script, she is an architect, but that doesn't really matter in this script.

Ask Ada if she has any stone.
This is the conditional statement. Of course, Ada does not have any stone. Only quarrymen can have stone.
The keyword any means more than one. You can also put a number in that conditional, and it will mean "greater than or equal to <number>".

Eventually, I will add the ability to use the word "exactly" before the number, but you can achieve this anyways with clever programming.

Because this is a conditional, we have to increase the indent level.

- If she doesn't:
- Tell Ada to write the text "I do not have stone" on her scroll.
- If she does:
- Tell Ada to write the text "I have stone" on her scroll.
This section of code is the conditional statement "body". The code in here is executed based on how the conditional happened.

[size=0pt]I see a rage coming from many programmers in here about what I am going to say in this section, but if you think about if statements in, say, JavaScript, the initial '{' can be viewed as a label to jump to, as can the '{' after the else.[/size]

- If she doesn't: and  - If she does:
Indent levels in village work like this:
<nothing>
-
  +
   *
    -
     +
      *
(and so on)


You don't need to memorize the pattern. If you get it wrong, the interpreter will kindly tell you which one to use.

The " -" before our command indicates that this is the first indent level. The space after the dash is a stylistic thing, it can be omitted.

The If she does: and If she doesn't: are labels that are jumped to if the condition is true or false, respectively. They can occur in any order. If there is only one of them in the conditional statement "body" and it doesn't apply, the entire conditional will be skipped.

If you run the code above, you will notice that only the text "I do not have stone" shows up on the output ("Community Message Board"). The other code beneath the If she does: label was skipped because it did not apply.

The end of any body section is always signified by a decrease in indentation.
[/spoiler]


There's more stuff in the docs.

Link to interpreter

The console messages (when debug mode is on) will help explain the examples and should help you.

Enjoy!
#2
PC, Mac & Vintage Computers / SnailFont
July 25, 2018, 04:03:14 PM

SnailFont is a free and open-source perfectly imperfect font suitable for pixel-based games and applications.


It features somewhat whimsical and tilted letters with very few straight lines or circles.


You can download it and try it out here!


These are the characters I have currently: (there are some tweaks that need to be made, the dots on the colon and the period are too big, the exclamation point is too short, the 'g' looks weird, the 'T' is too tilted, the lower zero on the percent sign is crazy weird, etc. I know it's supposed to be imperfect, but I don't want the imperfections to be distracting.)



This font is incomplete, I plan to tweak some of the existing characters slightly, and expand the current character set quite a bit. If anyone feels like helping, I'm writing some style guidelines for new characters.


The name comes from my other project, Attack of the Snails, which this font was made for :)


Enjoy!
#3
Web / eZ80-prettify
July 11, 2018, 12:20:32 AM

Today, I wrote a small tool to make your eZ80 programs prettier entirely in the broswer!
It...

  • adjusts your indentation so it stays with the stack, assuming you are using push/pop. (I'm not sure if I can check other methods, like directly manipulating the stack pointer, without a bunch of extra code)
  • formats your comments to increase readability.
  • is entirely customizable, so if you don't like something you can fork the project and change it.
  • probably won't mess with the functional aspects of your code. (if it does, file a bug report/post in the thread)
  • tells you approximately how many changes were made (I like stats)
  • probably will have more things going for it in the future
I wrote it as a tool so I could make my code nicer-looking without too much effort. I'm not at the point where I'm writing "smart-person" assembly yet, but I figure I'll get there soon enough. If you put any code in and it comes out functionally different/breaks, please create a bug, giving me the relevant code before/after prettification. I understand that different compilers have different directives/formatting requirements and stuff, so I might have to provide different options for different compilers. I also understand that this is probably useless with good programming practices.


The default settings used are simply my personal preferences (i.e. use 2 spaces instead of a tab, 2 more spaces before a comment, etc), but (as I said above) this is all changeable, you can find documentation on the individual options here. It was designed and written for myself, but if there's something you don't like, you can change it. If there's something that I'm missing that you think should be added as a default option, please tell me about it!


Check it out here!


To-Do:

  • Allow comments in the inputted code to disable formatting for sections/lines/blocks of code.
  • More customization features.
  • Even more customization features.
  • Document the features I added.
  • Improve the website (allow customizing features in the browser, so you don't have to fork or open the JS console)
#4
Phones & Tablets / Block Ninja
June 18, 2018, 06:33:20 PM
Block Ninja is a less-than-fully featured Fruit Ninja clone written for iPhone/iPad using the app Pythonista 3. (The app costs 10USD, but I assure you it is worth every penny of that. It is easily the best Python app in the app store with loads of features you will use and loads of features you didn't know you'd use. I'd actually rather program in it than in the default python Mac install).
It has a lot of awesome features and because of built-in sprites and a decent amount of math it looks quite good!


Eye candy:


Download the latest version of BlockNinja.py from this here and Pythonista 3 from the App Store (if you don't already have it). Load the BlockNinja.py file into Pythonista, and you're all set to play!


It features a high scores table, streaks, bombs, crits, a timer, advanced particle effects, and lots of obscure hacks and shims in the code because it wouldn't be a game written by me without them.


I feel obligated to put this in here, because I am promoting something that does cost real money. I'm not affiliated with Pythonista or its creators in any way (I'm not getting paid or anything for promoting the app), I got the app myself, toyed around with it and think the app is awesome, so you should totally get it, too.

New in v1.1:
- The timer flashes red when you are running out of time
- Loads of helpful and funny (if I do say so myself), in-code documentation.
- Optimizations
- Blocks hit with crits have particles that travel farther.
#5
Tech, Science & IT / OEIS golfing!
June 16, 2018, 07:00:48 PM
Inspired by this, and highly inspired by the Programming Puzzles and Code Golf (PPCG) stack exchange. If there are any doubts with the rules, default to their rules.


You must take a sequence in the OEIS (it must be known that it has infinite terms), and write a program taking a input, n, (somehow. If your language doesn't support taking input, editing the source code to insert a decimal number is allowed) and outputting, in base 10 plain text the first n terms of that sequence. You must start at the first term in the sequence. This can be via a file, a function return, etc


No hard-coding solutions, you should use an algorithm.
No reading from external sources.
No asking for the sequence from the user.
The program should be your own work. No stealing programs from other users.
(Use good judgement)
Programming languages are defined by their implementation, so the programming language must have a working compiler/interpreter by the time of this post.
Feel free to help others with their code golf. Be sure to explain what you changed and why it works!

If you are showing off your code golf, format your post like this:
[spoiler]
language name, sequence number, bytes
code
(how to use, if applicable)


optional explanation
[/spoiler]


I'll go first.


JavaScript, A025480, 70 bytes
f=r=>{for(s=[],i=0;i<r;i++)s[2*i]=i,s[2*i+1]=s[i];return s.length=r,s}
Defines a function, f, that returns an array of integers. Call it from the console with f(n), with n being your input.


inb4
JavaScript, A000012, 21 bytes
f=r=>Array(r).fill(1)
Defines a function, f, that returns an array of integers. Call it from the console with f(n), with n being your input.
#6
Web / Markdown to HTML and BBCode!
June 04, 2018, 05:59:15 AM
note, the converter currently is not 100% compatible with CW's BBCode, but compatibility will come eventually! For demonstration purposes, I made no modifications to the output of my program, even though it doesn't work entirely.



A few weeks ago, I had the not-so-crazy idea to write a Markdown renderer in JavaScript. This isn't that hard, Markdown is designed to be easily converted into HTML.


Last night, I realized that BBCode is also designed to be turned into HTML and formatting in Markdown is much more concise than BBCode. Maybe I can write posts faster in Markdown!


This is the result of about a hour of work. The converter uses Regular Expressions to match the Markdown formatting in the input text and replace it with the appropriate BBCode and HTML tags. Here's what I have so far:


[size=20]Headings[/size]
[size=16]Subheadings[/size]
(The Markdown to HTML lets you how down to h4, but I'm too lazy to add this to the BBCode version) 
[strike]strikethrough[/strike] 
bold 
italics 
Inline [mono]code[/mono] 
Code
blocks


  • lists
  • more list (it joins adjacent list elements appropriately) 

Links 
Horizontal bars:


Images: 



This post was converted from Markdown into BBCode using the Markdown -> BBCode converter! You can see the source code for this post here


You can find the converter at https://legend-of-iphoenix.github.io/markdown-bbcode-html/.




To-do

  • Block quotes
  • Somehow, colors???
  • Code cleanup
  • Bugfixing, particularly bugs with italics using asterisks.
  • Escaping? Somehow?
  • Nested lists? Somehow?
  • Ordered lists.
  • Make generated HTML a bit nicer-looking. (Apply formatting rules)
  • Clean up the actual website (I think jcgter777 is going to help with this)
  • Add support for more advanced Markdown.
  • Potentially convert BBCode to Markdown?
#7
Web / PolyJS
May 19, 2018, 05:55:57 AM
PolyJS

PolyJS is a lightweight, fast, and easy to use JavaScript library for manipulating 2D polygons on the HTML5 Canvas.

It lets you create, modify and draw polygons. It also lets you attach points to other points (with or without an offset) so that you can potentially change everything on the screen just by adjusting one value.

I really want to see what kinds of games and art people can make using PolyJS. It lets you do this unique, simple, and interesting art style.


You can download the docs from here, and the latest build from here! Happy Polygoning!


(If you are interested in contributing or just want to poke around, my GitHub repo is here)
#8
What do you use to create pixel art?


I myself use piskel, it's the best free online one I could find.


I'm curious to see what the rest of you use, because it is somewhat lacking in features (even though I'll never need anything else, it's fun to have them at your disposal).
#9
Web / _iPhoenix_ experiments with JS golfing
April 17, 2018, 04:09:54 AM
Now that I have gained semi-competence in JavaScript, I've started trying to get my code down to a certain size, occasionally as small as I can get it. (A.K.A. "code-golfing")


I was inspired to do this primarily by this, which is simply beautiful (in my opinion, of course), and some of the below projects reflect that.


This is a growing list, ordered by creation date, and I'll probably end up editing this post with new scripts as I make them.
1) ASCII art Ο€ character, in 360 bytes of code:
document.body.innerHTML=atob("/AAAAAPwAAAAA+AAAAAD4eD/h//H4P8H/9/g/wf/3+D/D///4f8P///h/w///+H/D///wf4P///B/g///8P+D///w/4P//+D/g///wP+D///B/4P8/4D/gfz/Af/AAP4D/8AB/gP/4AP+B//wB8=").split('').map(x=>x.charCodeAt(0).toString(2).padStart(8).split('').map(x=>"# ".charAt(x)).join('')).join('').match(/.{40}/g).map(x=>'<pre style="margin: 0">'+x+'</pre>').join('');
You can find an explanation for this one here. It's really simple, and I created it just as an experiment to see what I could do.
2) Rotating 3D Cube in 500 bytes of JS:
(a=>{var r=-1,e=[r,r,r,r,1,1,1,1],m=[r,r,1,1,r,r,1,1],n=[r,1,r,1,r,1,r,1],t=Math.sin,o=Math.cos,p=Math.PI/36,i=a=>16+(a<0?Math.floor(8*a):Math.ceil(8*a)),l=e.map((a,r)=>.5*a+m[r]*t(24*p));m=m.map((a,r)=>e[r]*t(24*p)-.5*a),e=l,setInterval(a=>{var r=Array.from(Array(32),a=>new Array(32).fill("  "));l=n.map((a,r)=>a*o(p)-e[r]*t(p)),e=e.map((a,r)=>a*o(p)+n[r]*t(p)),n=l,e.map((a,e)=>r[i(m[e])][i(a)]="#"),document.body.innerHTML=r.map(a=>'<pre style="margin:0;">'+a.join("")+"</pre>").join("")},50)})()
I haven't taken the time to produce an explanation for this one, but all it is doing are some point rotations, which (let's be honest) aren't really that interesting. If you just look through the code, you can probably guess what it is doing, and you'll most likely be right, if you know your trig. I'm not really satisfied with it, because I can easily shave off 20+ bytes by storing Array and Math to variables. I also don't need all of the fancy calculations determining when to use Math.floor or Math.ceil. It doesn't provide a noticeable difference to the output and it's just hoarding bytes. Using this suddenly available bytage, I should force the text height:width ratio something I can easily deal with, instead of assuming it is 2.
3) Rainbow Flashy Text in almost 256 bytes of JS
eval(s=`var q=0,a=x=>{q++;document.body.innerHTML=
s.split('\\n').map((x,j)=>x.split('').map((x,i,a)=>
'<kbd style="color: hsl('+(360*(i+q+j))/50+',100'+
'%,50%)">'+x+'</kbd>').join('')).join('<br />')}//
setInterval(a,9);s='eval(s=\`'+s+'\`)'//_iPhoenix_`)

This is by far my favorite one (so far). It uses several of the tricks found in the aemkei world thing, linked above. It displays (almost, I can't do character escaping without some serious additions) the source code of the program and does a fun rainbow pattern. I can't really describe what it does in words, just check it out :P. As with the 3D Cube, this script could also be optimized. But in order for my rainbow effect to look good, all of the rows should be the same length, and any more optimizations would mess with it.




If you have any suggestions for (relevant) things you want me to try (be reasonable), you can post them below, and I might try to do it! (Yes, I am doing that :walrii: as requested)
#10
This is mostly just a thing for SM84CE.  :love:

Notice how I shamelessly advertise my programs a lot? If you haven't, you might be illiterate. Then again, you are reading this sentence.

For example, check out AoJ:
QuoteIn this game, you must fly around the screen capturing grey squares, all while under a time crunch! The movement is simple and intuitive to use, yet refreshingly different and difficult to truly master. Multiple control schemes (arrow keys and number pad) are readily available in-game, to accommodate your preferred method of playing. Featuring multiple modes of difficulty and highscore tables for each, hours of fun are to be had! Screenshots Coming soon! Update: Speed improvements and renamed difficulties.
It is excessively positive, it makes an otherwise dull game sound amazing!

It clearly worked, I have over 2000 downloads on that file, and counting!

In BBS, I go even further:
QuoteIn this strangely fun and satisfying program, you can bounce a bouncy ball in a small room! More details in the readme! Huge thanks to JWinslow23 for taking the time to slice off a ton of bytes from this program.

This program was uploaded at the height of when videos claiming to be the "most satisfying video on the internet" were at their height. The word choice here is crucial.

In Procrastinate, I go all out. I engineered it to be like most of the really crappy App Store descriptions:

QuoteA super fun game, with awesome TI-BASIC graphics, including a rendition of Google Docs and Sublime Text! Can you finish your essay while being distracted by the shiny Sublime Text editor and upgrades screen? Uses no picture variables, only a single program. Includes a highscores table. GIF captured by jcgter777.

I challenge the user to finish my game, making them feel like they are chickening out if they don't download it. I list a bunch of impressive stats (this is a TI-BASIC game, after all) like a machine gun. Overwhelm the user with positivity, and maybe they will click the shiny link called "download"!
#11
Web / iChat
April 01, 2018, 12:29:10 AM
Hello, everyone!


Introducing iChat: the chatting service that isn't my problem.


iChat is a lightweight chatting service. It is not a standalone application. It is supposed to be designed and customized by the user, and does not come with any styling or "creature comforts".


I should probably write some documentation. (Edit: I did!)


To install iChat into your webpage:
1) Install Firebase.
2) Set up user authentication.
3) Set the users' displayNames to the username that will be shown on screen.
4a) Add this line of code into the body tag, where you want it to go.
4b) Add these rules to your database rules.
5) Optionally (but recommended), add styling.

iChat is being used on multiple sites already, but I want to create my own demo for it.

For those interested in seeing the inner workings or wish to assist in the development of iChat, the main JavaScript file is here

Edit: I just updated iChat to v0.3.0

This basically includes a bunch of bug fixes I had done earlier but forgot to push.
#12
Web / Adventures of Jetman JavaScript port!
March 24, 2018, 06:57:31 PM
I've been working on porting Adventures of Jetman to JavaScript for a short while now, and I'm happy to announce that I'm almost done.


You can check out what I have currently at https://legend-of-iphoenix.github.io/AdventuresOfJetman/


It currently is not mobile-compatible, yet, but I plan on adding it.


I just need to make a few sprites and add some critical gameplay features. I've been putting off the former, so I'll casually post the list of sprites I am working on here:
[spoiler]Dude wearing a jetpack, with the jetpack boosting. (facing at the camera, to the left, and to the right. 2+ frame flame animation.)
Dude wearing a jetpack, walking. (to the left, and to the right. 2+ frame walking animation.)
Dude wearing a jetpack, standing still. (facing the camera)
Powerups (red, green, gold)
Site favicon. (done, not implemented)
Currently, I plan on using our :walrii: as a placeholder.
I will be using as a placeholder for the jetpack dude. [/spoiler]
#13
Web / The Button
March 03, 2018, 08:30:34 PM
Link to site.

The Button is a KotH-style game where the last person to click a button has their username shown on everyone's screen, at least until the next person clicks the button.

It's pretty basic right now and in dire need of styling, but I'm working on that and a leaderboard system.

I showed it off on IRC/SAX and nearly everyone who tried it seemed to enjoy it, so have fun!
#14
Contests / UCC4 [ucc4]
February 14, 2018, 01:04:03 AM
This contest's topic is: :3= ! To be eligible for a prize, you must make a program that creates walruses of all hues!
To be eligible, you must make a topic showing your progress, with the "[UCC4]" tag in the title.

The contest will end whenever there are enough competitors. No late entries will be accepted.

Users should be able to enter two hex values in #RRGGBB format: one for the body, and one for the eyes. On-Calculator entries in ICE/C/Assembly will be allowed to use the xlib color palette, and TI-Basic entries... well... GLHF...

Only the gray parts of the :3= should be tinted with the color for the body, and only the coloring of the eyes should be tinted for the eye color.

All pixels should be tinted relatively:
For example, the dark grays on the :3= should become darker reds than the light grays if I enter #FF0000 as the body color. Notice how the golden walrus in my signature and in the below spoiler has dark golden tones where the normal walrus has dark grays.

[spoiler=gold walrus][/spoiler]

You cannot release source publicly until after the contest, to avoid plagiarism.

*keep your entry SFW, please*

Note: due to the laws of the universe, it is not possible/is extremely difficult to contribute an entry if you happen to die at the hands flippers of an axe-murderer walrus during this contest. Be careful.

You will be judged on these criteria, although your entry can be penalized at the discretion of the judges, to some extent:
- overall project detail and completeness, including functionality and design
- code readability
- interaction with other users, including the reception and distribution of feedback.
- overall ingenuity.
- number of walruses involved (we aren't kidding this time)

We are placing an emphasis on readability, so that future users can potentially learn something from your code.

Contest judges (i.e. me, but you can request to be one if you have over 100 posts, just ask in this thread. Only 2 more judges will be accepted.) are not allowed to participate, and cannot win prizes.

As for prizes, printable walrus "diplomas" will be issued to the top three winners, signed by the contest judges under their usernames. (If you are accepted as a judge, PM me a pic of your signature, signing as your username)
[spoiler=legal crud]Neither myself; the contest judges; the CodeWalrus site, admins and users; or contest participants are liable for any damage or legal c you come up with.
The opinions expressed by the judges in the choosing of a winner may not represent the entire views of the CodeWalrus community or admins.
All decisions are final, unless they aren't.[/spoiler]
Have fun! If you have any questions about this do not be afraid to ask in this thread!
Previous winners:

[spoiler][ucc1: weather]
1: Juju + kotu
2: -
3: -
[ucc2: 8-bit animation]
1: Jarren Long
2: Juju
3: -
[ucc3: ascii game thingie]
1: Juju
2: -
3: -
[/spoiler]
#15
Web / Mys
February 11, 2018, 07:11:30 PM
Mys is a programming language.


But it is also a challenge.


No documentation is provided. You have to make a "Hello, world!" program, producing that exact text (it's possible in under 200 characters.). If that is achieved, you can see the challenge progression below.


Trying to deobfuscate or debug the source code is cheating, and sharing large amounts of Mys syntax secrets ruins the fun for all future users. The point of the language is for new users to discover things for themselves. Don't ruin it for others. If you don't like that, then stop using Mys and ignore this thread.



You should submit your source here if you accomplish a challenge. Do not post it, because then people might figure out the syntax. (Hopefully you understand the point of Mys by now. The syntax is supposed to by a mystery)

Challenge progression list available here!
Completed Challenges (spreadsheet)


Have fun. Link to interpreter

If you are stuck, use a hint.

Found a bug? PM me your source and the output :)
#16
Web / N.E.U.P.L.
February 06, 2018, 01:35:13 AM

N.E.U.P.L.: New Experiments in Uninteresting Programming Language(s).


Interpreter Here


Docs Here


NEUPL is a simple stack-based language. Check the docs for more info :ninja:
I'm nearly 100% sure it's not Turing Complete, unless there is some form of bug with the language.


Interesting NEUPL code snippets:
Quote"Hello, world!": !<d<l<r<o<w< ,<o<l<l<e<H<lp
"hi", but it's really overcomplicated (kudos to you if you can understand it): i<<h<<l<<p<i<p<l<pie
"Hello, _iPhoenix_" (demonstrates command insertion and printing newlines with an empty stack and lp): lp,<o<l<l<e<H<l<pip_<pi<x<i<n<e<o<h<P<i<_<l<piplp


There are some notable bugs, particularly with the execution of commands from the stack. I think I know why, but I'll take some time to fix.


Additionally, I want to be able to manipulate the stack in other ways, like flipping it, changing ASCII values of characters in the stack, and more.


The goal of this programming language is ,<r<a<e<l<c<n<U<lp.<w<o<n< <r<o<f<lp (Unclear, for now.)


Just note that more commands are coming, and this is slightly buggy, so don't worry too much if something isn't working.
And yes, I'll continue to work on UniChat. This is just a small excursion from that.
#17
Other / kotu thinks we don't want him back.
January 04, 2018, 10:15:23 PM
Hey, all.


I've been talking with @kotu (via YouTube comments) and it appears he thinks we don't want him back.


He asked me to name one person who wants him back (presumably besides myself). So, we have this thread.


Please post here if you want kotu back. (and why, and reinforce how he can get back)
Edit: Due to the coherency and sensibility coming out of the conversation we had, it seems he is getting much better.
#18
Gaming / Marble Run
November 22, 2017, 12:40:06 AM
This has been a popular thread over on Cemetech recently, so I think I'll bring the love over here:
Create a track here!


Here are some of mine, if you need inspiration:
http://www.marblerun.at/tracks/611681
http://www.marblerun.at/tracks/613123
http://www.marblerun.at/tracks/613345
Mateo then exploited a trick/glitch I found in the above track, and created this monster:
http://www.marblerun.at/tracks/613359

http://www.marblerun.at/tracks/613401
http://www.marblerun.at/tracks/613442
http://www.marblerun.at/tracks/613470 << this is my favorite. Please like it :P
http://www.marblerun.at/tracks/613478
http://www.marblerun.at/tracks/613487
http://www.marblerun.at/tracks/613495
#19
Web / Ascii Breakout [ucc3]
November 18, 2017, 02:58:00 PM
DISCLAIMER:
Although I cannot and will not enter this into the contest, I will still be making a UCC3-style entry. This time around, the contest seems really fun. If you want to create Breakout for your entry, feel free to do so. It will probably be better than mine.
  :thumbsup:

I will be creating an Atari Breakout clone, in grayscale, using the full char palette, uhh, I provided.

I will try to make it multiplayer in a time based fashion, where Player 1 does a playthrough, and Player 2 has to beat his/her time. (I might be able to get them to play simultaneously, it depends.)

[No screenshots yet]
#20
Contests / UCC3 [ucc3]
November 18, 2017, 01:35:35 AM
This contest's topic is: ASCII Games! To be eligible for a prize, you must make a VANILLA JAVASCRIPT game,  that exclusively uses monospaced ASCII art. To be eligible, you must make a topic showing your progress, with the "[UCC3]" tag in the title
The contest will end on January 1st, 2018 at 11:59:59 EDT (hopefully on-time). No late entries will be accepted.


You cannot release source publicly until after the contest, to avoid plagiarism.


*keep your entry SFW, please*


Note: due to the laws of the universe, it is not possible/is extremely difficult to contribute an entry if you turn into a black hole during this contest. Sorry.


You will be judged on these criteria, although your entry can be penalized at the discretion of the judges, to some extent:
- overall project detail and completeness, including functionality and design.
- interaction with other users, including the reception and distribution of feedback.
- overall ingenuity.
- number of walruses involved (just kidding, this will not affect your score)
Contest judges (i.e. me, but you can request to be one if you have over 100 posts, just ask in this thread. Only 2 more judges will be accepted.) are not allowed to participate, and cannot win prizes.


As for prizes, printable walrus "diplomas" will be issued to the top three winners, signed by the contest judges under their usernames. (If you are accepted as a judge, PM me a pic of your signature, signing as your username)


[spoiler=legal crud]Neither myself; the contest judges; the CodeWalrus site, admins and users; or contest participants are liable for any damage or legal c you come up with
The opinions expressed by the judges in the choosing of a winner may not represent the entire views of the CodeWalrus community or admins.
All decisions are final[/spoiler]


Have fun!


If you have any questions about this do not be afraid to ask in this thread!


Previous winners:
[spoiler][ucc1: weather]
1: Juju + kotu
2: -
3: -
[ucc2: 8-bit animation]
1: Jarren Long
2: Juju
3: -
[/spoiler]


Here are all of the different characters you can use:
[spoiler]A-Z
a-z
0-9
[]{}#%^*+=_/\|~<>.,?!'-:;()$&@"[/spoiler]
You can request more in this thread, if I missed some. I internionally disallowed some characters, though.


I will be testing all entries on a html page:
<!DOCTYPE html>
<html>
<head>
<script src="path/to/file.js"></script>
</head>
<body>
</body>
</html>



As you can see, there's not much there. You will need to use the JS to create all of the elements and styles you need. (Keep it grayscale, though, for bonus points)


Bonus points for multiplayer (same device multiplayer, no backend allowed) see below.


Winning entries might be featured on a website I am making. (successor to UniChat, but with games, karma, a small help forum, etc)

Edit:
Here's one huge thing you need to know: the font!
A monospaced font, Inconsolata will be used.

If you are creating an entry, insert the following code at the top of your main JS file (the one that will be loaded first), or add the code to your existing window.onload event handler thing. Feel free to change the code as you need. Remember that no CSS files are allowed; it all has to be done in JS using <object>.style.<tag> = <style>

//I figure you will want to use the <body> tag later, so I put it up here. You probably don't need the <head> tag for much, so I made it a local variable.


var body;


//when the content is loaded.
window.onload = function() {
   //get the <body> tag from the document.
   body = document.getElementsByTagName("BODY")[0];
   //get the <head> tag from the document.
   var head = document.getElementsByTagName("HEAD")[0];
    //create a <link> tag.
   var fontLink = document.createElement("LINK");
   //adjust the properties of the link tag to looks like this: <link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
   fontLink.setAttribute("href", "https://fonts.googleapis.com/css?family=Inconsolata");
   fontLink.setAttribute("rel", "stylesheet");
   //add the tag to <head>
   head.appendChild(fontLink);
   //set the style of everything in the <body> tag to use the font from the <link> tag.
   body.style.fontFamily = "'Inconsolata', monospace";
   //the following code is optional CSS formatting to make the screen look cool. You do not need it.
   body.style.backgroundColor = "#000";
   body.style.color = "#ccc";
};



If you are using multiple JS files, you should specify in your thread in what order they should be added (and where they are located), or add to the above code in order to load the others in the order you need.

Edit:
I've changed the rules so that you can do multiplayer IF AND ONLY IF you can get it to work with Google Firebase.  <3
(and yes, I will include the required <script> tags for firebase)
#21
Web / UniChat!
November 12, 2017, 11:37:38 PM
Site is here!
Today, (As I am posting this) I created a free, simple, and open solution to a problem exactly none of us have. I created what is essentially an IRC chatroom, but crappier!


Introducing UniChat, which is a bare-bones, embarrassingly simple chatroom!


Utilizing Google's powerful Firebase platform, it is a place where you can communicate with the other users, which has peaked at 5 (yay, much many users)!


Not only is it a great messaging tool, but I am using it to create a bounty of anonymized, secure data that my machine-learning algorithms can learn human behaviour from!


It is also in active development, with new features arriving every day! (keep in mind that I came up with the idea ~8 hours ago as I am posting this)


Planned features: (starting at -2 because I was too lazy to go back and change the numbers as I came up with new ideas)
-2) OMFG CSS
-1) Username-from-cookie detection (so you don't have to keep typing the same username every time you reload the page)
0) Message submission with pressing the Enter key.
1) highlights and @mentioning
2) URL detection and creation
3) pm's and /me
4) private chatrooms (maybe)
5) ???


Current features:
1) Working message storage.
2) Usernames
3) Automagic pseudorandom default username creator thing
4) Unlimited message length (intentional abuse = limited message length, and/or ban from service. Potentially worse punishments will be added, if I can come up with new punishments :/)
5) Amazing, CSS-less layout.


Please do not use severely profane words (i.e. worse than ccrraapp) on UniChat.


I am also looking for more adjectives and nouns for the automagic pseudorandom default username creator thing (you can type lists of them into the service, I can check the logs if you want)
#22
Contests / Unofficial Codewalrus Contest 2 [ucc2]
September 13, 2017, 10:03:34 PM
This contest's topic is animation/animating, especially of the 8-bit variety. To be eligible for a prize, you must make a program or create an IRL creation that involves animation/animating, and topic showing your progress, with the "[UCC2]" tag in the title
The contest will end on October 14 at 11:59:59 EDT (hopefully on-time). No late entries will be accepted.

If you choose to make an IRL creation, you might want to create a video describing your project and its features.

If you choose to make a program, for any platform/language, you cannot release source until after the contest, to avoid plagiarism.


*keep your entry SFW, please*


Note: due to the laws of the universe, it is not possible to contribute an entry if you are dead. Sorry.

You will be judged on these criteria, although your entry can be penalized at the discretion of the judges, to some extent:
- overall project detail and completeness, including functionality and design.
- interaction with other users, including the reception and distribution of feedback.
- overall ingenuity.
- number of walruses involved (just kidding, this will not affect your score)
Contest judges (i.e. me, but you can request to be one if you have over 100 posts, just ask in this thread. Only 2 more judges will be accepted.) are not allowed to participate, and cannot win prizes.

As for prizes, printable walrus "diplomas" will be issued to the top three winners, signed by the contest judges under their usernames. (If you are accepted as a judge, PM me a pic of your signature, signing as your username)

[spoiler=legal crud]Neither myself; the contest judges; the CodeWalrus site, admins and users; or contest participants are liable for any damage or legal c you come up with
The opinions expressed by the judges in the choosing of a winner may not represent the entire views of the CodeWalrus community or admins.
All decisions are final[/spoiler]

Have fun!

If you have any questions about this do not be afraid to ask in this thread!

Previous winners:
[spoiler][ucc1: weather]
1: Juju + kotu
2: -
3: -[/spoiler]
#23
Contests / Unofficial Codewalrus Contest #1
July 20, 2017, 06:30:43 PM
(Well, Juju told me I could do this, so I guess it is semi-unofficial)


This contest's topic is weather. To be eligible for a prize, you must make a program or create an IRL creation that involves weather, and topic showing your progress, with the "[UCC1]" tag in the title
The contest will last 4 weeks, and end on the 17th of August 9th of September at 11:59:59 EDT. No late entries will be accepted.


If you choose to make an IRL creation, you must create a video describing your project and its features.


If you choose to make a program, for any platform/language, you cannot release source until after the contest


*keep your entry SFW*


All entries are to be submitted to in a PM to me, @_iPhoenix_



You will be judged on these criteria, although your entry can be penalized at the discretion of the judges, to some extent:
- overall project detail and completeness, including functionality and design.
- interation with other users, including the reception and distribution of feedback.
- overall ingenuity.
- number of walruses involved (just kidding, this will not affect your score)
Contest judges (i.e. me, but you can request to be one if you have over 100 posts, just ask in this thread. Only 2 more judges will be accepted.) are not allowed to participate, and cannot win prizes.


As for prizes, printable walrus "diplomas" will be issued to the top three winners, signed by the contest judges under their usernames. (If you are accepted as a judge, PM me a pic of your signature, signing as your username)


[spoiler=legal crud]Neither myself; the contest judges; the CodeWalrus site, admins and users; or contest participants are liable for any damage or legal c you come up with
The opinions expressed by the judges in the choosing of a winner may not represent the entire views of the CodeWalrus community or admins.
All decisions are final.[/spoiler]


Have fun!


If you have any questions about this do not be afraid to ask in this thread!
#24
Randomness / Boredom Thread!
June 22, 2017, 09:54:43 PM
Summer is here, and unfortunately that means most people have either too much free time, and are bored, or have not enough free time or are on vacation.




Post here about your far-out ideas that just could not happen, interesting things you heard about, or anything that bothers you, in the attack against boredom!


Also feel free to demonstrate your prowess with the WYSIWYG editor, using cringey memes, and the like, but don't be too obnoxious.


Have fun!
#25
I, _iPhoenix_, have created a portal to the dimension where there are strange beings called "doofii" playing with our familiar :walrii:. My camera/potato sucks, so live with it.


The walruses in this dimension are cute, intelligent, mischievous, and very friendly.
The doofii are extremely stupid, but get the job done in the end (their cities are more lopsided than the Tower of Pisa...)


Here's some of my sketches detailing what I have found.
[spoiler]https://ibb.co/fHH3k5
[spoiler]https://ibb.co/f81UQ5
[spoiler]https://ibb.co/njrUQ5
[spoiler]https://ibb.co/mrc3k5
[spoiler]https://ibb.co/nvfdJQ
[/spoiler]
[/spoiler]
[/spoiler]
[/spoiler]
[/spoiler]

And I did the images like that to force you to look at them in the order I drew them.
#26
Randomness / Walrii storytelling!
May 30, 2017, 11:39:33 AM
Basically, just add to the story (keep it small/simple/:walrii:) of the person in front of you.

Things in code tags are not part of the story. They could be suggestions, comments, praise, etc

Here's the story:


Quote from: p2 on May 30, 2017, 10:02:15 AM
Quote from: _iPhoenix_ on May 29, 2017, 04:32:00 PM
But shhh... We are observing the secretive :walrii: in its natural habitat...


*suddenly a naked walrus crosses our way, nipping on a cup of coffee, screaming "NΓΌf nΓΌΓΌΓΌf" as it sees us*


*suddenly, it charges us, screaming "nΓΌΓΌΓΌΓΌΓΌΓΌΓΌΓΌΓΌf", and our walrii translator tells us that it means either "ooh cute non-walrii" or "mommy?"*


Try not to stress out the :walrii:...
#27
Other / _iPhoenix_'s quotes thread.
May 02, 2017, 10:24:34 PM
Here's a bunch of helpful/interesting quotes from me!
I am too lazy to put quote tags around all of them, so here they are:


"The mark of a good programmer is that he/she hasn't brute forced anything in the past few years. Unless it truly cannot be done any other way..." ~ _iPhoenix_

"The smarter you get, the more idiotic mistakes you make. I guess I must be pretty smart, I walk into the same door everyday." ~ _iPhoenix_

"That code is messier than my handwriting. And that's saying something." ~ _iPhoenix_

"You call that holy, beautiful code a mess? You haven't seen anything." ~ _iPhoenix_

"This truly revolutionary mess..." ~ _iPhoenix_

'' :3= '' ~ _iPhoenix_

"PT_ is a god, I tell you." ~ _iPhoenix_ (Cemetech Quote 126)

"If Jesus died for our sin, who died for our cos and tan?" ~ _iPhoenix_ (Cemetech Quote 123)

"I am easily distracted by shiny th... Oooh shiny..."  ~ _iPhoenix_

"Saying big, unrelated words makes you sound more photosynthesis." ~ _iPhoenix_

"If someone smarter tells me it is impossible, I keep trying just to prove them wrong. I've been dividing by zero ever sense..." ~_iPhoenix_

"I switched over karmaBot and iPhoenixBot over to the Bots API, before they were working on some form of haphazard code monolith I threw together." ~ _iPhoenix_

"I accidentally banned myself" ~ _iPhoenix_

"You needed karma, because I am a lazy human" ~ _iPhoenix_

"hang on... You have more karma than me... And I made this site. " ~ _iPhoenix_

"I press a button, and it bans you. hehe [ from UniChat ]" ~ _iPhoenix_

I'll add more as I say cool things. <rant> I don't want to add this to the funny quotes thread, as these are too awesome for that filthy place of demented quotes. </rant>

Feel free to use these!
#28
Drawing & Animation / Calc animation thingie/project
April 22, 2017, 02:30:43 AM
I've had a √ idea lately. (Ok that was a bad joke) I am *attempting* to make something like Animation vs Animator 4 (look it ↑), but starring my sentient calculator. Being myself, it will be "Program vs Programmer" and I will animate the screen using code. Go figure.


It will/could have a scene where I call on Cemetech/CodeWalrus members via SAX/WalriiIRC, but I will animate those, if given permission by the respective owners.


I'm not going to leak too much, but it is completely planned out. I even went to office max a purchased a storyboard. Just to feel like I know what I am doing, even though I don't. When this project is complete, I will release my source code, but beware. It is 100% quick and dirty, with little to no optimizations. (Case in point: ~30 min in, and I have eleven nested for loops)


I will append updates to this post.
#29
What is your favorite little-used feature of any program? (no easter eggs, unless they are actually useful!) For me, it is, well, I don't know!


I am curious about what you guys have to say, and the more frequently you use the software, the better. (People may actually use this stuff :P)
#30
Randomness / Forum Game: Counter!
March 21, 2017, 08:19:12 PM
If you don't know what a forum game is, well, it's a game you play on a forum.

In this forum game, you have a number. This post is one, the next post will be 2 AND SO ON (jeez). In your post, you post some information about you that relates you to that number. For example:


Quote from: My post, which is number oneI am 1.
I am related to this number because I have one color calculator, my CE. I tend to spend a lot of time on my CE, which can sometimes be a bad thing ;D .
I also have a single monochrome calc, but I do not spend as much time on that calculator.

Your post, of course, will be longer, as that was just a demo.

RULES:
Only post (here) twice per week, at most, and don't double post.
No profane or inappropriate comments/stories.
If you have nothing in common with the next number, reset to 1.
You cannot be the same number twice. (I cannot be one again)
You cannot reset to one to be mean. That simply makes it less fun for everyone.
No flaming.  >:( >:D (jk, but seriously, don't :thumbsup: )
The objective is to get as high as we can, but that is not the objective of the thread (It's an added objective). The objective of the thread is to have fun and learn about each other.


GO!
#31
Other / Fun Math/Logic Problems!
March 17, 2017, 09:54:08 PM
I got one!

With 5 eight's, and 5 basic operators (+, -, *, /, ^, plus parenthesis, of course.), is it possible to get the numbers 1 - 16 (It may be no, 16 is arbitrary ;) )?
If so: how, and how far can you go (continuously after 10)?


E.X.
(8/8)^8-(8/8) = 0


jonbush asked a very good question:
Quote from: jonbushSo we must use all five 8's, but we can use any number of operators?


Yes. NO OPERATORS/OPERATIONS NOT MENTIONED!


And no programs to try every single combo, either. Fine... I used one myself to solve it anyway...


And if you do create a program, you need to explain (prove, in short) why that particular one is impossible... :ninja:


Hints (filthy cheater :P ):


Hint #1
Hint #2

Use spoilers for your answer :P
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal