forked from France-ioi/bebras-tasks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<!DOCTYPE html> | ||
<html lang="fa"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>2016-FR-09-loops</title> | ||
<script> | ||
window.stringsLanguage = 'ar'; | ||
</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.1', | ||
'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', 'shape-paths', 'drag_lib-2.0', | ||
// 'graph-1.0','visual-graph-1.1','graph-mouse-1.1' | ||
]); | ||
</script> | ||
<script class="remove" type="text/javascript"> | ||
var json = { | ||
"id": "http://castor-informatique.fr/tasks/2016/2016-FR-08-repeating-pattern/", | ||
"language": "fa", | ||
"version": "fr.01", | ||
"authors": "Arthur Charguéraud, Mathias Hiron, France-ioi", | ||
"translators": [], | ||
"license": "CC BY-SA 3.0", | ||
"taskPathPrefix": "", | ||
"modulesPathPrefix": "", | ||
"browserSupport": [], | ||
"fullFeedback": true, | ||
"acceptedAnswers": [], | ||
"usesRandomSeed": false | ||
}; | ||
</script> | ||
<script type="text/javascript"> | ||
var taskStrings = { | ||
validate: "تلاش", | ||
crash: "ربات به بوته برخورد کرد.", | ||
outside: "ربات از جدول بیرون زد.", | ||
notAtGoal: "تمامی دستورها اجرا شدند ولی ربات به پرچم نرسید.", | ||
success: "آفرین! موفق شدی!", | ||
|
||
loopText: function(loopTimes) { | ||
return loopTimes+" بار تکرار کن."; | ||
}, | ||
stop: "توقف", | ||
fillFirst: "با قرار دادن یک پیکان در اولین خانه خاکستری شروع کن." | ||
}; | ||
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"> | ||
<p>ببراس یک ربات ساخته و میخواد براش برنامهای بنویسه که بدون اینکه به بوتهها بخوره و از جدول خارج شه به پرچم برسه، کمکش کنین این کارو بکنه. </p> | ||
<p>یه پیکان تو هرکدوم <b>از خونههای خاکستری قرار بدین</b>.</p> | ||
<p>با کلیلک کردن روی دکمههای سیاه میتونین تعداد تکرار<span class="medium hard"> حلقههارو عوض کنین</span>.</p> | ||
</div> | ||
<div id="zone_2"> | ||
<div id="paper"></div> | ||
</div> | ||
<img src="obstacle.png" style="display:none" id="wall"> | ||
<img src="red_robot.png" style="display:none" id="robot"> | ||
<img src="green.png" style="display:none" id="goal"> | ||
<img src="icon.png" style="display:none"> | ||
</div> | ||
</div><!-- task --> | ||
<div id="solution"> | ||
</div> <!-- task-solution --> | ||
</body> | ||
</html> |