batman-nair / IRCIS

I Run Chars I See(IRCIS) - a 2d grid based esoteric programming language.
MIT License
107 stars 4 forks source link

New Feature Ideas #3

Closed bhudgeons closed 4 years ago

bhudgeons commented 4 years ago

Not sure which of these are worth doing, but here are some things I thought would be fun to add.

Thoughts?

batman-nair commented 4 years ago
  1. I think sending information through stdin is too complicated from a user's perspective and doesn't have a really good use case...
  2. A "teleport" command might be cool. We can have 2 variants - a controlled one where the coordinates are taken from stack and one which jumps randomly.
  3. I can think of a few use cases for Pause, but I'm wondering if it would be visually confusing to see a Runner just stop for some time.
  4. There are 2 kinds of how random can be used: Random value and Random direction. I couldn't think of a good program that uses this well.
  5. Configurable timing can be done easily now as you added command-line options I was just too lazy to create that. :smile:
batman-nair commented 4 years ago

Implemented --speed to control the animation speed.

bhudgeons commented 4 years ago

One more feature idea: command to change the color of the runner :)

bhudgeons commented 4 years ago

Okay, here's a use case: You could build a program that creates 3 runners. Each of them are given a different color, then they go to a "starting line" and pause. Then they "race" around a "track". Some "potholes" (pauses that trigger on a random basis) make them race at different speeds. After some number of times around the track, the winner pauses for a while in a "winner's circle" (maybe after "announcing" its win with #) while the losers fall off the grid. Due to the random pauses along the track, it would be a different winner each time it ran.

bhudgeons commented 4 years ago

Oh ... and stdin would let you do something like this: ircis file1.txt | ircis file2.txt ... runners communicating across executions. (Kind of funny that these are "use cases" ... none of this is particularly "useful" to me in any normal sense of that word.)

batman-nair commented 4 years ago

You might not believe it but the current color was selected looking at the color combinations and stuff. I actually wanted something greenish but it just didn't look good sadly.

A race is actually a really fun idea to implement with random pauses and random paths. Have to try that out! :smile:

Yeah... stdin is an interesting touch but doesn't seem worth the effort kinda.

batman-nair commented 4 years ago

@bhudgeons :heavy_check_mark: Random number generator :heavy_check_mark: Pauses for Runners :heavy_check_mark: :checkered_flag: RACETRACK! :tada:
Check it out, added output in readme :)