-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conditional simulator #23
Comments
Hi, |
your system is ok... it was awesome.. but it occur to my mind what if i want a quiz based instead freestyle simulating. |
sorry ..just newbie in this programming but i want to become programmer just like you |
Could you send me a drawing your imaging? |
hmm...... like this device here and workspace is here on the bottom of these there is button where will dictate if your work in your working space is correct based on the given instruction. |
sorry for my english i hope i deliver my message correctly.. i really sorry. |
that button is submit |
yeah like that... can i have the code? PLEASEEE :((( |
i have been struggle in doing that ... :( help mee please. |
Current source is here. <!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<script type="text/javascript" src="simcir.js"></script>
<link rel="stylesheet" type="text/css" href="simcir.css" />
<script type="text/javascript" src="simcir-basicset.js"></script>
<link rel="stylesheet" type="text/css" href="simcir-basicset.css" />
<script type="text/javascript" src="simcir-library.js"></script>
<style>
.frame {
padding: 16px;
display: inline-block;
border: 1px solid #000;
}
.instuction {
padding: 4px 8px;
margin: 8px 4px;
display: inline-block;
background-color: #ccc;
font-size: 16pt;
}
.button {
font-size: 16pt;
}
</style>
<title></title>
</head>
<body>
<div class="frame">
<div class="instuction">Instuction here</div>
<div class="simcir">
<!-- paste here your circuit data -->
{
"width":400,
"height":200,
"showToolbox":true,
"toolbox":[
{"type":"DC"},
{"type":"LED"}
],
"devices":[
],
"connectors":[
]
}
</div>
<button class="button" onclick="alert('Correct!')"> SUBMIT </button>
</div>
</body>
</html> |
Is it enough to check that it gives the correct output for all possible inputs? |
I am interested in your simulator having this ability as it would be useful for teaching. Like NandGame. But with your nicer user interface. |
@JamesNewton |
yeah.. so hard :(... that is why i ask you ? hehehe cause i doing it for a month to do that... i have a idea,,, how about we use can the connector as data finder?... something like this... we just want to know that the device is in the workspace. "devices":[ |
@kazuhikoarase I'm saying your user interface is better. |
i need a condition to know that can tell what inside of the workspace. you know like evaluating what inside of the breadboard. |
can u create a simulator with condition where only specific device can be found in the workspace?
help me out :(
i have been doing code and i can't perfect it. :(
The text was updated successfully, but these errors were encountered: