Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

urls.py 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. from django.urls import path
  2. from . import views
  3. urlpatterns = [
  4. path("", views.loginView, name="loginView"),
  5. path("lobby/<int:gameid>/<str:username>", views.lobby, name="lobby"),
  6. path("gamerules/<int:gameid>/", views.gamerules, name="gamerules"),
  7. path(
  8. "company/<int:gameid>/<str:username>/startGame/",
  9. views.startGame,
  10. name="startGame",
  11. ),
  12. path(
  13. "company/<int:gameid>/<str:username>/worker/<int:workerid>/",
  14. views.companyWorker,
  15. name="companyWorker",
  16. ),
  17. path(
  18. "company/<int:gameid>/<str:username>/order/<int:orderid>/",
  19. views.companyOrder,
  20. name="companyOrder",
  21. ),
  22. path(
  23. "company/<int:gameid>/<str:username>/training/<int:workerid>/",
  24. views.companyTraining,
  25. name="companyTraining",
  26. ),
  27. path(
  28. "company/<int:gameid>/<str:username>/action/<int:actionid>/",
  29. views.companyAction,
  30. name="companyAction",
  31. ),
  32. path(
  33. "company/<int:gameid>/<str:username>/events/<int:eventnumber>/",
  34. views.companyEvent,
  35. name="companyEvent",
  36. ),
  37. path(
  38. "company/<int:gameid>/<str:username>/setModel/<int:eventid>/<int:modelnumber>",
  39. views.companyEventSetModel,
  40. name="companyEventSetModel",
  41. ),
  42. path(
  43. "company/<int:gameid>/<str:username>/specialorder/<int:specialorderid>/",
  44. views.companySpecialOrder,
  45. name="companySpecialOrder",
  46. ),
  47. path("company/<int:gameid>/<str:username>/", views.company, name="company"),
  48. path("standings/<int:gameid>/<str:username>/", views.standings, name="standings"),
  49. ]