✏ Building lucky draw game with PHP
You can find the source code here: [https://ide.c9.io/makzan/youthskills-php-2](https://ide.c9.io/makzan/youthskills-php-2)
What is the game about?
- The browser shows some options.
- Player chooses the correct option.
- JavaScript asks server to run a lucky draw logic and get the result.
- If the result is "Win", JS shows the contact form. If not, JS shows the "bad luck" screen.
- After post the contact form to server, server renders a "Thanks" page.
Here is the result of the game. Please be aware of the console outputs.
// TODO: I’ll post the screencast of the coding process later.