Inspiration
Every day thousands of people in Spain study to obtain the driving license for the first time. In addition, it is recommended drivers with a license check their knowledge every so often. On the other hand, in the last year the number of bicycles and electric scooters in our cities has increased. It is also useful for bicycle drivers and electric scooter drivers, know and review the traffic code to reduce the number of accidents.
What it does
I have developed a skill for alexa that helps you to know the traffic code and prepares users for the official Spanish driving license exam. The questions have been obtained from the DGT (government department) website in 2018. This source is said in the skill. Users must answer the questions by saying A, B or C. On devices with screen, users can also touch the correct option.
How I built it
I started programming skills for Alexa last October. This skill is my first skill with Alexa Presentation Language (APL). I have included 3 APL documents in this skill: Question screen, Stats screen and Help screen. These screens are created and tested to be displayed correctly in small round devices, medium devices, large devices and extra large devices (TV). The appearance of these screens changes a lot in small round devices.
This skill remembers the questions you have failed (store it in DynamoDB). When a question that you have failed reappears, a reminder message is also displayed: you failed this question the last time.
The background images, icons, etc. are stored in S3.
The skill is multi-language (Spanish and English).
To increase the number of users in my skills, in the "Help" section I announce other skills.
Challenges I ran into
The biggest challenge has been learning APL during the last days and include all the functionality before the deadline of the contest.
I'm not a designer but I'm happy with the graphic appearance of the skill and with the images I have prepared for the contest. But I want to improve the design in the future.
Accomplishments that I'm proud of
I am proud to make public data available to many users (questions about driving license), using a useful skill that can be used anytime and anywhere. I am proud to have included "TouchWrapper" and dynamoDB to highlight the questions that the user has failed in the past. I'm happy because I've optimized a lot the number of DynamicoDB calls.
What I learned
I learned to develop skills for Alexa. I also learned about the Skills certification process in the store. In addition, I learned APL and a lot about the Amazon ecosystem used in this project (Lambda, lambda versioning, DynamoDB, S3, IAM roles ...). Of course I improved my driving knowledge :)
What's next for Driving Test
I hope it is very useful for users. I will listen to your feedback to add new improvements. In the future I want to add more statistics to see the evolution of the student, rankings, multiplayer game mode, questions with video and more languages. I also want to refactor the source code.
Built With
- alexa
- amazon-alexa
- amazon-dynamodb
- apl
- lambda
- multilanguage
- multimodal
- s3


Log in or sign up for Devpost to join the conversation.