This is example of my code from real task.
Neural Language Program game "Alphabet"
Task: Make a game for the browser. Description of the game: 1) On the screen appear and disappear two Cyrillic or Latin letters (optional). a) The top letter is anyone from the Cyrillic or Latin alphabet (optional). b) The bottom letter is R - Right (П - Правая), L - Left (Л - Левая), B - Together both letterHands (В - Вместе Обе руки). 2) Display letters in random order (optional). 3) Change the arrangement of letters on the screen (optional). 4) Change the size of letters (optional). 5) Change the color of letters (top and bottom also must have different colors) (optional). 6) Display speed (optional).
The game must have two screens:
1) First screen - game menu with a choice of complexity.
2) Second screen - game screen where the letters will be displayed.