Rubicon Forum
Welcome, Guest. Please login or register.
May 23, 2012, 06:15:21 AM

Login with username, password and session length
Search:     Advanced search
Undeletable components are now shaded blue when loading a level in.
5198 Posts in 234 Topics by 2428 Members
Latest Member: curly
* 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 2220 times)
Rene
Director
*****
Posts: 669


View Profile Email
Decimal counter
« on: October 27, 2006, 10: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
Re: Decimal counter
« Reply #1 on: October 27, 2006, 11: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!