Skip to content

Commit

Permalink
🍱 (GEK): Example - add image activities
Browse files Browse the repository at this point in the history
- activity-touchToSelect-one_right_answer-image.yml
- activity-touchToSelect-one_right_answer-mixed.yml
  • Loading branch information
HPezz authored and ladislas committed Oct 27, 2023
1 parent 4397ad3 commit b076595
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# Leka - iOS Monorepo
# Copyright 2023 APF France handicap
# SPDX-License-Identifier: Apache-2.0

id: 6be7fcc5e32942d5804ec336ef127d03
name: Touch To Select - One Right Answer - Image
description: L'objectif est de trouver la bonne image ou des les rassembler par famille
image: activity_image_recognition_1
sequence:
- exercises:
- instructions: Touche les animaux
type: selection
interface: touchToSelect
gameplay: selectAllRightAnswers
payload:
choices:
- value: image-placeholder-animals
type: image
isRightAnswer: true

- instructions: Touche le portrait
type: selection
interface: touchToSelect
gameplay: selectAllRightAnswers
payload:
choices:
- value: image-placeholder-food
type: image
- value: image-placeholder-portrait
type: image
isRightAnswer: true

- instructions: Touche le paysage
type: selection
interface: touchToSelect
gameplay: selectAllRightAnswers
payload:
choices:
- value: image-placeholder-landscape
type: image
isRightAnswer: true
- value: image-placeholder-animals
type: image
- value: image-placeholder-food
type: image

- instructions: Touche la nourriture
type: selection
interface: touchToSelect
gameplay: selectAllRightAnswers
payload:
choices:
- value: image-placeholder-animals
type: image
- value: image-placeholder-portrait
type: image
- value: image-placeholder-food
type: image
isRightAnswer: true
- value: image-placeholder-landscape
type: image

- instructions: Touche les animaux
type: selection
interface: touchToSelect
gameplay: selectAllRightAnswers
payload:
choices:
- value: image-placeholder-animals
type: image
- value: image-placeholder-food
type: image
isRightAnswer: true
- value: image-placeholder-landscape
type: image
- value: image-placeholder-portrait
type: image
- value: image-placeholder-food
type: image

- instructions: Touche le portrait
type: selection
interface: touchToSelect
gameplay: selectAllRightAnswers
payload:
choices:
- value: image-placeholder-animals
type: image
- value: image-placeholder-food
type: image
- value: image-placeholder-landscape
type: image
- value: image-placeholder-food
type: image
- value: image-placeholder-portrait
type: image
isRightAnswer: true
- value: image-placeholder-animals
type: image
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Leka - iOS Monorepo
# Copyright 2023 APF France handicap
# SPDX-License-Identifier: Apache-2.0

id: 9a5431d4a5084ce4abc48109f90b8504
name: Touch To Select - One Right Answer - Mixed
description: L'objectif est de trouver la bonne réponse ou des les rassembler par famille
image: activity_mixed_recognition_1
sequence:
- exercises:
- instructions: Touche l'image
type: selection
interface: touchToSelect
gameplay: selectAllRightAnswers
payload:
choices:
- value: image-placeholder-food
type: image
isRightAnswer: true
- value: blue
type: color

- instructions: Touche les images
type: selection
interface: touchToSelect
gameplay: selectAllRightAnswers
payload:
choices:
- value: blue
type: color
isRightAnswer: true
- value: image-placeholder-animals
type: image
- value: green
type: color
- value: image-placeholder-portrait
type: image
isRightAnswer: true

- instructions: Touche toutes les items
type: selection
interface: touchToSelect
gameplay: selectAllRightAnswers
payload:
choices:
- value: blue
type: color
isRightAnswer: true
- value: image-placeholder-food
type: image
isRightAnswer: true
- value: green
type: color
isRightAnswer: true
- value: image-placeholder-landscape
type: image
isRightAnswer: true
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ let kActivities: [Activity] = [
// ? dragAndDrop: activity-dragAndDrop-<number_of_zones>-<number_of_answers>-<answer_type>

ContentKit.decodeActivity("activity-touchToSelect-one_right_answer-colors"),
// ContentKit.decodeActivity("activity-touchToSelect-one_right_answer-image"),
ContentKit.decodeActivity("activity-touchToSelect-one_right_answer-image"),
ContentKit.decodeActivity("activity-touchToSelect-one_right_answer-mixed"),
// ContentKit.decodeActivity("activity-touchToSelect-multipe_right_answers-mixed"),
// ContentKit.decodeActivity("activity-touchToSelect-multipe_right_answers-colors"),
// ContentKit.decodeActivity("activity-touchToSelect-multipe_right_answers-images"),
Expand Down

0 comments on commit b076595

Please sign in to comment.