Simple Computers

Threads moved from the Suggestions forum after rejection

Moderators: Public Relations Department, Players Department, Game Mechanics (RD), Programming Department

User avatar
Ryaga
Posts: 502
Joined: Sat Jun 13, 2009 2:43 am

Simple Computers

Postby Ryaga » Tue Jun 01, 2010 8:39 pm

May or may not be attached to a radio.

When input is recieved it is put onto a stack. There are 2 input stacks, local and radio.

The computers would be programmed with a crude version of something like qBASIC. Instead of variables though, you'd access adresses directly. You don't have types of variables to hold your hand. If you want a string you've got to work out the specifics yourself, etc. Every tic, (fairly quickly?), a certain number of commands would be executed. I guess you'd just count certain things as a command. Like a comparison could be a command, an assignment could be a command, a function call could be a command, etc. When the command limit was reached execution would suspend until the next tic where it'd either start over or continue.

I'd want a similar set up to this:
GPOPINPUT fills from the adress specified to the end of the input, the input being from the radio. If there is no input execution stops.
GOUTPUTBEGIN is called with an argument to tell the beginning adress of the output.
GOUTPUTEND is called with an argument to tell the end.
GPUSHOUTPUT pushes the output onto the output stack which is actually popped from bottom to top on every tic.

Code: Select all

ADR[1] = 2
GPOPINPUT ADR[2]

findend:
IF ADR[ADR[1]] = 0 THEN
   ADR[0] = ADR[1] - 1
   ADR[1] = 2
   GOTO decode
ELSE
   ADR[1] = ADR[1] + 1
   GOTO findend
END IF

decode:
IF ADR[1] = ADR[0] THEN
   ADR[1] = 2
   GOTO finish

ELSE
   ADR[ADR[1]] = ADR[ADR[1]] - 3
END


finish:
LOUTPUTBEGIN ADR[ADR[1]]
LOUTPUTEND ADR[ADR[0]]
LPUSHOUTPUT


Would decode an obfuscated string of characters increased by 3 a piece.
Last edited by Ryaga on Tue Jun 01, 2010 11:47 pm, edited 2 times in total.
Image
User avatar
Ryaga
Posts: 502
Joined: Sat Jun 13, 2009 2:43 am

Re: Simple Computers

Postby Ryaga » Tue Jun 01, 2010 9:31 pm

Please delete the other one. I edited this one to make it correct, and the other has not been. Was an accidental double post.
Image
YugoStrikesBack
Posts: 249
Joined: Mon Apr 05, 2010 6:30 am
Location: Death Star

Re: Simple Computers

Postby YugoStrikesBack » Tue Jun 01, 2010 10:32 pm

Incredibly complicated.
I did it cuz I hate you.
User avatar
Ryaga
Posts: 502
Joined: Sat Jun 13, 2009 2:43 am

Re: Simple Computers

Postby Ryaga » Tue Jun 01, 2010 10:46 pm

Moreso in implementation then use.
Image
User avatar
Chris
Posts: 855
Joined: Sat May 05, 2007 1:03 pm

Re: Simple Computers

Postby Chris » Tue Jun 01, 2010 10:51 pm

On the computers, you can play a game. It's called Cantr III. And so on. :-)
User avatar
joo
Posts: 5021
Joined: Fri Jun 17, 2005 2:26 pm
Location: London, UK

Re: Simple Computers

Postby joo » Tue Jun 01, 2010 11:00 pm

Nice idea. I don't think the normals will understand or accept it though.
User avatar
Ryaga
Posts: 502
Joined: Sat Jun 13, 2009 2:43 am

Re: Simple Computers

Postby Ryaga » Tue Jun 01, 2010 11:07 pm

There I made it simpler and summarized for the people who have very limited programming knowledge or none. Hopefully more people get it now.
Image
User avatar
joo
Posts: 5021
Joined: Fri Jun 17, 2005 2:26 pm
Location: London, UK

Re: Simple Computers

Postby joo » Tue Jun 01, 2010 11:10 pm

Woah. Now, if I had read that first I may have dismissed it as a crap suggestion. :lol:
User avatar
Ryaga
Posts: 502
Joined: Sat Jun 13, 2009 2:43 am

Re: Simple Computers

Postby Ryaga » Tue Jun 01, 2010 11:15 pm

joo wrote:Woah. Now, if I had read that first I may have dismissed it as a crap suggestion. :lol:

What do you mean? :lol:
Image
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: Simple Computers

Postby Doug R. » Wed Jun 02, 2010 2:35 am

I haven't the slightest clue what the heck this is about. Fancy jargon and code aside, what is this supposed to do for the game?
Hamsters is nice. ~Kaylee, Firefly
User avatar
joo
Posts: 5021
Joined: Fri Jun 17, 2005 2:26 pm
Location: London, UK

Re: Simple Computers

Postby joo » Wed Jun 02, 2010 2:49 am

Hehehe, good question... I believe it would make the game more interesting, and allow new systems to emerge both socially and mechanically.
User avatar
Ryaga
Posts: 502
Joined: Sat Jun 13, 2009 2:43 am

Re: Simple Computers

Postby Ryaga » Wed Jun 02, 2010 3:16 am

Basically it'd allow:

Obfuscation/Encryption and Decryption to be done automatically.
Basically if you had a computer that could only output to notes, yea you'd be able to do just about anything you could do with like a punchcard computer or a terminal computer.

It'd be ages before anything complex enough to even touch the average cantrian's life was made.
Image
returner
Posts: 948
Joined: Sun Nov 01, 2009 8:11 am
Location: Melbourne, Australia

Re: Simple Computers

Postby returner » Wed Jun 02, 2010 5:08 am

No thanks.
This account is no longer active - please send any PMs to my new one.
YugoStrikesBack
Posts: 249
Joined: Mon Apr 05, 2010 6:30 am
Location: Death Star

Re: Simple Computers

Postby YugoStrikesBack » Wed Jun 02, 2010 8:15 am

Ryaga wrote:Basically it'd allow:

Obfuscation/Encryption and Decryption to be done automatically.
Basically if you had a computer that could only output to notes, yea you'd be able to do just about anything you could do with like a punchcard computer or a terminal computer.

It'd be ages before anything complex enough to even touch the average cantrian's life was made.


Even with encryption technology you know Joo is going to develop Cantr decrypt and make it completely useless right?
I did it cuz I hate you.
User avatar
Arenti
Posts: 2814
Joined: Mon Oct 22, 2007 11:31 am
Location: The Netherlands

Re: Simple Computers

Postby Arenti » Wed Jun 02, 2010 10:40 am

Computers in cantr? hmm as long as they can't get hacked. :mrgreen:
There is no rule that says I can't post as much I want. I asked my lawyer.

Return to “Rejected Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest