Skip to content

Commit

Permalink
translate 2020 tool-deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
sahroush committed Jul 7, 2023
1 parent 0f38891 commit 510b94a
Showing 1 changed file with 122 additions and 0 deletions.
122 changes: 122 additions & 0 deletions bebras/2020/2020-FR-07-tool-deadlock/index_fa.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
<!DOCTYPE html>
<html lang="fa">

<head>
<meta charset="utf-8"></meta>
<title>2020-FR-07-tool-deadlock</title>
<script>
window.stringsLanguage = 'fa';
</script>
<script class="remove" type="text/javascript" src="../../../_common/modules/pemFioi/importModules-1.1_M.js" id="import-modules"></script>
<script class="remove" type="text/javascript">
var modulesPath = '../../../_common/modules';
importModules([
'jquery-1.7.1', 'jquery-ui.touch-punch', 'raphael-2.2.1', 'JSON-js', /*'grid-1.0',*/
'beav-1.0', 'beaver-task-2.0', 'simulation-2.0', 'raphaelFactory-1.0',
'delayFactory-1.0', 'simulationFactory-1.0', 'raphaelButton-1.0',
'platform-pr', 'buttonsAndMessages', 'installationAPI.01', 'miniPlatform',
'taskStyles-0.1', 'randomGenerator-1.0', /*'drag_lib-2.0', 'shape-paths'*/
]);
</script>
<script class="remove" type="text/javascript">
var json = {
"id": "http://castor-informatique.fr/tasks/2019/FR-2019-10-lighting/",
"language": "fa",
"version": "en.01",
"authors": "Arthur Charguéraud, Mathias Hiron, Marielle Léonard",
"translators": ["Soroush Sahraei"],
"license": "",
"taskPathPrefix": "",
"modulesPathPrefix": "",
"browserSupport": [],
"fullFeedback": true,
"acceptedAnswers": [],
"usesRandomSeed": false
};
</script>
<script type="text/javascript">
var taskStrings = {
success: "آفرین، شما موفق شدید!",
sameTool: function(line,tool) {
var textLine, toolName;
switch(line){
case 0:
textLine = "اول";
break;
case 1:
textLine = "دوم";
break;
case 2:
textLine = "سوم";
break;
case 3:
textLine = "چهارم";
break;
}
switch(tool){
case 0:
toolName = "چکش";
break;
case 1:
toolName = "پیچ‌گوشتی";
break;
case 2:
toolName = "ارّه";
break;
}
return "سگ آبی ردیف "+textLine+" نمی‌تواند "+toolName+" را بردارد چون یک سگ آبی دیگر آن را برداشته."
},
undo: "برگرداندن"
};
var enableRtl = true;
</script>
<script type="text/javascript" src="task.js"></script>
<style>
#paper {
margin-top: 1em;
touch-action: none;
}
#displayHelper_graderMessage {
color: red;
font-weight: bold;
}
</style>
</head>

<body>
<div id="task">
<h1>ابزارهای مشترک</h1>
<div id="tabsContainer"></div>
<div id="taskContent">
<div id="zone_1">
<div class="consigne">

<p><span class="easy">دو</span><span class="medium">سه</span><span class="hard">چهار</span> سگ های آبی در حال کار کردن روی یک پروژه عمرانی هستند. آنها باید از تعدادی ابزار به ترتیب داده شده استفاده کنند، هرکدام برای مدتی مشخص که در <span class="easy">دو</span><span class="medium">سه</span><span class="hard">چهار</span> ردیف مقابل آنها نشان داده شده.</p>

<p>هر ابزار می‌تواند در هر لحظه در دست حداکثر یک سگ آبی باشد.</p>
<p>جوری ابزارها را بکشید که هیچ‌گاه <b>دو ابزار یکسان روی یکدیگر نباشند. </b></p>
</div>
</div>
<div id="zone_2">
<div id="paper"></div>
</div>
</div>
<img src="castor.png" style="display:none" id="beaver">
<img src="../../../_common/modules/img/icons/cross_red.png" style="display:none" id="cross">
<img src="hammer.png" style="display:none" id="hammer">
<img src="screwdriver.png" style="display:none" id="screwdriver">
<img src="saw.png" style="display:none" id="saw">

<img src="icon.png" style="display:none">
</div>

<!-- task -->

<div id="solution">
<h2>Solution</h2>
<h2>It's informatics!</h2>
</div>
<!-- task-solution -->
</body>

</html>

0 comments on commit 510b94a

Please sign in to comment.