rapid-router 7.4.4__py2.py3-none-any.whl → 7.4.5__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
game/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "7.4.4"
1
+ __version__ = "7.4.5"
@@ -188,6 +188,18 @@ ocargo.Game.prototype.reset = function () {
188
188
  }
189
189
 
190
190
  ocargo.Game.prototype.runProgramAndPrepareAnimation = function (blocks) {
191
+ if (window.location.href.startsWith("https://www.codeforlife.education")) {
192
+ if (window.location.href.includes("/pythonden/")) {
193
+ gtag("event", "python-den:level:play", {
194
+ levelId: LEVEL_NAME - 1000,
195
+ });
196
+ } else if (window.location.href.includes("/rapidrouter/")) {
197
+ gtag("event", "rapid-router:level:play", {
198
+ levelId: LEVEL_NAME,
199
+ });
200
+ }
201
+ }
202
+
191
203
  this.reset()
192
204
  let code = ocargo.pythonControl.getCode()
193
205
  ocargo.event.sendEvent('PlayButtonPressed', {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rapid-router
3
- Version: 7.4.4
3
+ Version: 7.4.5
4
4
  Classifier: Programming Language :: Python
5
5
  Classifier: Programming Language :: Python :: 3.12
6
6
  Classifier: Framework :: Django
@@ -3,7 +3,7 @@ example_project/rapid_router_test_settings.py,sha256=zeun7ZbgaIko7lKoBFyY0JBSNLf
3
3
  example_project/settings.py,sha256=LlpNO365iqVvWz7PlFOXDwqrE1OEnLSSnSaXd7x5caE,4172
4
4
  example_project/urls.py,sha256=XHug_cpNy21yOef3E1-wWT5VkTuxpl6ZXIlCj6jDjWA,422
5
5
  example_project/wsgi.py,sha256=U1W6WzZxZaIdYZ5tks7w9fqp5WS5qvn2iThsVcskrWw,829
6
- game/__init__.py,sha256=pRP-2U3JdKe9zc7kJ_hZIi8lzbrKlyH-LTC8oC216zs,22
6
+ game/__init__.py,sha256=ERwVBgQCBJgucxhtakk-dQufB6Ee4T6nwO2NL91sBGg,22
7
7
  game/admin.py,sha256=BLwwaqQYuqmMdwqnvhdan19iGxdcoBX4CXFk_ROG5-M,1431
8
8
  game/app_settings.py,sha256=mlg-1AiP7AR5JNOHAXXLuCrYWaZMmSihvSYk9c2c8YY,857
9
9
  game/cache.py,sha256=dtOiFl6Z4I2Q9-8Hz24ZI-5C0asXYSQhF2Be5q74N8g,2227
@@ -344,7 +344,7 @@ game/static/game/js/drawing.js,sha256=4VpHIWBtUbyscKynzecrACaMV6wpUUP-NvjxpUyZ2Z
344
344
  game/static/game/js/drawingConstants.js,sha256=U0BbcFBzNhBOIr-PiiKaRS4AtdOOk6NvB0boxvJQTSA,68
345
345
  game/static/game/js/event.js,sha256=VUGrUWxu1aWEk4AJFkzi7yZpXrIA6-9z4RIra3fhdvE,401
346
346
  game/static/game/js/fpsmeter.js,sha256=b6D2ZDaxxYEqMgrdy8gAE_wEJbndLCTRaM7kTVkA0Uw,8835
347
- game/static/game/js/game.js,sha256=3E9pWompMOfMnQ_iWWz5U-zWuz41si0cvAsafzUnPNg,37995
347
+ game/static/game/js/game.js,sha256=6RGJ2SyWOPOV90E5cAc3Dij7F5wh-zjRNAjay81uDzU,38386
348
348
  game/static/game/js/handlebars.runtime-v4.7.7.js,sha256=OCETUDXXzC9KlTyEGgRDrOYiUaDKp4s2vTXMHWx-I6Q,52216
349
349
  game/static/game/js/howler.js,sha256=sCHcRrx0ngqmGAgXUAQK0cRRRFdnmXoWAjBP3rAQeaI,12089
350
350
  game/static/game/js/jquery.dataTables.min.js,sha256=FZGH2eJrS9A_b3nlOUQxLOIXYfhrM9LK7hsOxzyYXiI,87104
@@ -800,8 +800,8 @@ game/views/level_selection.py,sha256=UI345nDv5iTRQ7VttiLKLzezJlaSlaKOnhlALZgMU9Q
800
800
  game/views/level_solutions.py,sha256=lfwLFvw4gFuptTkL2J_ibhnuiysl3Yao15sn2qoQlcE,97194
801
801
  game/views/scoreboard.py,sha256=Lxy7XtoG7VwWpTb-c22BGC6eN8uCmmOnQ2qjY-oXA3k,16914
802
802
  game/views/scoreboard_csv.py,sha256=yx4tOwx5QsHyU1S1BUPUqRBWIh5idq8QVtBID-NqZto,1768
803
- rapid_router-7.4.4.dist-info/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
804
- rapid_router-7.4.4.dist-info/METADATA,sha256=ndNHyJ7AG-MBa01AfLbC9wb7ToORqPsGZBTPRUiSAZE,8858
805
- rapid_router-7.4.4.dist-info/WHEEL,sha256=Kol19cahXavY536r5Aj6aAgK_6CmctrOu3bgNJMSNJA,109
806
- rapid_router-7.4.4.dist-info/top_level.txt,sha256=rKP4ryr1t8Wcnx8grJHDViM3T5cMYH_0vygDjC04ArA,21
807
- rapid_router-7.4.4.dist-info/RECORD,,
803
+ rapid_router-7.4.5.dist-info/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
804
+ rapid_router-7.4.5.dist-info/METADATA,sha256=NbW8lIau2DnEo5MK6s_m8vnCJAMqATvXOD5-_t0AcU4,8858
805
+ rapid_router-7.4.5.dist-info/WHEEL,sha256=Kol19cahXavY536r5Aj6aAgK_6CmctrOu3bgNJMSNJA,109
806
+ rapid_router-7.4.5.dist-info/top_level.txt,sha256=rKP4ryr1t8Wcnx8grJHDViM3T5cMYH_0vygDjC04ArA,21
807
+ rapid_router-7.4.5.dist-info/RECORD,,