This is a learning project that provides some interesting challenges for the Elm programming language, intended to be completed after reading the Elm Architecture Turorial.
The challenges are provided by Gil Mizrahi.
Create a program that does the following:
The program will print "Right" in the middle of the screen if the mouse cursor is on the right half of the screen or will print "Left" instead in middle of the screen if the mouse cursor in on the left half of the screen. Try to add different background and foreground colors as well :) also, resizing the browser window should not break the application.
Write a program that fills the screen with small blue circles, produced (pseudo) randomly and over time (choose how much time to wait between generating a new circle).
Add two new abilities:
- when the 'P' key on the keyboard is pressed, pause the generation of new circles and when pressed again, resume.
- when the 'R' key on the keyboard is pressed, reset and start the animation from the beginning.
Extra: try to add two buttons which will do the same things as 'P' and 'R'.
Write a program that asks the user for a Github username (from a text field) and displays this user's name, avatar and lists his/her repositories. Fetch the information only after the user stops typing for one second.
Write a snake clone. Make it save the top score for each user using local storage. Make it possible to start the game again without refreshing the page.
With the previous challenge, sepparate the high score from the rest of the application in its own module so it can be reused in another game. Separate the game into its own module so it can be loaded from another application.