Follow me on Twitter to get more tips and tutorials! https://twitter.com/AlchemistCamp
Notes, source and links at Alchemist.Camp:
https://alchemist.camp/episodes/guessing-game
Our first challenge after installing Elixir is to write a simple game. The computer repeatedly guesses what number you're thinking of as you tell it to guess "bigger" or "smaller" until it arrives at your number.
In the course of writing this, we'll encounter modules, functions, basic input/output, the case control structure, loading modules into iex and some basic mathematical functions.
Download
0 formats
No download links available.
Lesson 1: The Guessing Game (Elixir 1.6+) | NatokHD