Rubicon Forum
Welcome, Guest. Please login or register.
December 01, 2008, 07:54:17 PM

Login with username, password and session length
Search:     Advanced search
Forum users can use the crate icon (or [level] and [/level] tags) when writing a post, to make a direct link to a level.
3898 Posts in 197 Topics by 2405 Members
Latest Member: Ping
* Home Help Search Login Register
+  Rubicon Forum
|-+  Playing the Game
| |-+  Open Design Challenges (Moderator: Bucky)
| | |-+  Decimal counter
« previous next »
Pages: [1] Print
Author Topic: Decimal counter  (Read 1066 times)
Rene
Director
*****
Posts: 444


View Profile Email
Decimal counter
« on: October 27, 2006, 09:42:18 PM »


Here is a full speed decimal block counter. It is modular, so the count can go up to as many digits as you want.

http://kevan.org/rubicon/game.php?level=zexydas

On the lower conveyer, you can even add small digits (0-6), but at slightly less than full speed

Design challenge: create a decimal adder that adds up all digits (0-9). Full speed would be nice.

Rene.
Logged
sluutthefeared
Designer
***
Posts: 74


View Profile Email
Re: Decimal counter
« Reply #1 on: October 27, 2006, 10:52:27 PM »

Here's a quick one.
disynym

It's least significant digit first. I could probably reverse it but I'm lazy.
The first counter can't reset from 9 to 0 fast enough so it resets to 2 to account for the lost blocks. If the stream were going to be intermittent I would have to do it a bit different.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Rubicon Forum | Powered by SMF 1.0.8.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!