This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for CombinatorialCircuitEditor

Return to CombinatorialCircuitEditor

danpostdanpost

2013/9/14

Once I started using cables, it began stopping on me (must be a NullPointerException or something causing this).
KartoffelbrotKartoffelbrot

2013/9/14

Hmm, what did you connect? Which input with which output?
When you try to connect an objects output with it's own input the simulation stops (doesn't make much sence to connect the objects this way but that causes exceptions).
JetLennitJetLennit

2013/9/14

The OR gate needs both switches on....
KartoffelbrotKartoffelbrot

2013/9/14

@ Gevater_Tod4711: Yes you are right, I am trying to fix that. @Jet_Lennit: Maybe your cables aren't updated. That happens if you connect an activated switch with a gate. I will fix that, but that's the only way I am able to explain your message. For me it works fine.
JetLennitJetLennit

2013/9/14

Oh, I don't know what happened, it works now...
danpostdanpost

2013/9/14

I am not quite sure exactly what I did. I possibly had clicked on the same node twice. I think the main problem stems from the fact that you are using the mouse click function on the nodes to perform two different actions (changing its state and selecting it for possible connection). If you allowed dragging for creating the connections, it could also be used to easily change the node either end of the connector is hooked to (or to remove the connection altogether by not re-connecting to a node); and it would not interfere with the changing of the state of the nodes using mouse clicks.
danpostdanpost

2013/9/14

Using the dragging also puts a definite limit on when a connection is being attempted (what I mean is that there will be a point in time when the attempt is started -- when dragging is detected, and a point in time when the attempt is completed -- when dragEnded). Another plus is you do not have to store the first node clicked on in a field in the world when using the dragging method.
A new version of this scenario was uploaded on Mon Sep 16 14:58:14 UTC 2013 -prototype menu added -some cable bugs fixed
A new version of this scenario was uploaded on Thu Sep 19 15:39:06 UTC 2013 multiple selecting: hold your mouse to dragg a recangle, which can select more than one Actor! So you are able to move complete curcuits now!
A new version of this scenario was uploaded on Fri Sep 20 15:29:17 UTC 2013 bugfixes
A new version of this scenario was uploaded on Mon Sep 30 14:27:33 UTC 2013 -projects have to be named -button improvements
A new version of this scenario was uploaded on Sat Oct 05 17:27:48 UTC 2013 Logic Hazards
A new version of this scenario was uploaded on Sun Oct 06 17:13:42 UTC 2013 AUTOMATIC CALCULATING OF DMF (it was very hard and long work, so please try it out)
sashiosashio

2013/10/7

Wow, this is my project for a subject in my university, but I don't know how make it, can you help me?
KartoffelbrotKartoffelbrot

2013/10/7

No problem, but what do you mean exactly? Creating the GUI, the logics and/or calculating the DMF?
A new version of this scenario was uploaded on Mon Oct 07 15:30:12 UTC 2013 new buttons
sashiosashio

2013/10/9

I need help in everything, except calculating the DMF (I don´t have to make it), is possible that can you send me this project for use like a guide?
KartoffelbrotKartoffelbrot

2013/10/9

Do you have experience with greenfoot? If not you should first read the API (not everything, just the important things) and try it out, so that you get a feeling for it. If you know how the circuits work you can program the logics so far, but for the GUI, I will help you. I don't want to give the whole project away, but I can give you some of it, so that you know how it works.
KartoffelbrotKartoffelbrot

2013/10/11

@ sashio: like some classes (for example the gates)
JetLennitJetLennit

2013/10/11

When are you adding the save/load feature?
KartoffelbrotKartoffelbrot

2013/10/12

I hope in the next week.
KartoffelbrotKartoffelbrot

2013/10/13

But I get a stupid compiling error.
sashiosashio

2013/10/16

OK, please help me with something, I´m lost in this project, according to my teacher, I need to use binary trees and I never have worked with them, any help is great for me.
KartoffelbrotKartoffelbrot

2013/10/16

I didn't used binary trees here, but I programmed a simple version of them last year in school with BlueJ. I can send you the class if you want (when I can find it). I can send you the code of some classes like the gates, too. It would be the best if you open a discussion like "Binary trees and Combinatorial curcuits", so that more users will help and code is better to see. I could explain you, how connecting the gates and all the stuff here works.
A new version of this scenario was uploaded on Sun Oct 20 09:13:06 UTC 2013 DMF display improvements
Game/maniacGame/maniac

2013/10/23

Are the wires that connect the gates actors or are they drawn in to the background?
KartoffelbrotKartoffelbrot

2013/10/23

They are Actors.
sashiosashio

2013/10/24

Great! that is a great help to me, thank you very much. How can I contact you?
KartoffelbrotKartoffelbrot

2013/10/24

Write an e-mail to paul.bittner@gym-lachendorf.de.
A new version of this scenario was uploaded on Thu Oct 24 09:18:05 UTC 2013 -new Gates: NOR, NAND -better menu (will be more improved in future) -DMF display bugfix
Game/maniacGame/maniac

2013/10/25

adding and removing inputs is a bit buggy
A new version of this scenario was uploaded on Mon Oct 28 20:13:53 UTC 2013 menu improvements
A new version of this scenario was uploaded on Wed Nov 13 18:49:32 UTC 2013 DMF display bugfix
shrucis1shrucis1

2013/11/13

I created a loop with a 'NOT gate', an 'OR gate' and an 'AND gate'. Flickering christmas lights!
JetLennitJetLennit

2013/11/13

You should add resistors
KartoffelbrotKartoffelbrot

2013/11/14

Do you mean to slow it down?
A new version of this scenario was uploaded on Thu Nov 14 13:08:08 UTC 2013 Input number change bug fixed
JetLennitJetLennit

2013/11/14

http://de.wikipedia.org/wiki/Widerstand_(Bauelement)
KartoffelbrotKartoffelbrot

2013/11/15

Yes, I know it from school. Thanks for the german link :) . But I don't simulate electricity here, I have only a boolean (on = true or false). Therefore I asked.
A new version of this scenario was uploaded on Sun Nov 17 10:41:24 UTC 2013 added clock
A new version of this scenario was uploaded on Fri Apr 11 10:31:30 UTC 2014 added RS and JK FlipFlops
NewProgrammerNewProgrammer

2014/4/11

Really awesome. Do you mind giving me your email address so that i can ask you a few questions? You can share it via danpost's private messaging.
KartoffelbrotKartoffelbrot

2014/4/12

You can ask here, too. But if you want to, I will give you my address.
NewProgrammerNewProgrammer

2014/4/15

Ok, you can share it via Danpost's private messaging program (I've already shared mine)
A new version of this scenario was uploaded on 2019-10-02 15:03:03 UTC