This repository contains the "Aspect" game project for the YouTube show the_dev_aspect written in F#.
The code for each part of the F# series is stored in branches of this repo. For each part I include branches for the initial and final states of the code. Here is the current list of branches for each part of the show:
Episode 004 - Functional Concurrency with the Actor Model, F# Part 4
Episode 005 - Parsing Text with Combinators, F# Part 5
Cloning the Code
You have two options for cloning the code for an episode:
1. Clone the repo and branch directly
git clone -b part-N-initial https://github.com/thedevaspect/aspect-fsharp.git
2. Clone the repo and then switch to a branch
git clone ps://github.com/thedevaspect/aspect-fsharp.git cd aspect-fsharp git checkout part-N-initial
If you've already cloned the repository when watching a prior episode, you should just be able to use these commands to get the code for the new episode:
git pull origin git checkout part-N-initial
Don't forget to replace the
part-N-initialwith the part number of the episode!
I recommend approach #2 because it will allow you to reuse the repository for downloading the code of future episodes.
Recommended Code Editor
Helpful Keyboard Shortcuts
- Run current line of code: Alt + /
- Run current selection of code: Alt + Enter
- Show VS Code's command palette: Ctrl/Cmd + Shift + P or F1
VS Code's command palette contains a ton of commands that are helpful while editing
F# code. Try typing
F# in the command palette to see relevant commands.
Questions or Feedback?
Please feel free to leave a comment on YouTube or tweet @daviwil if you have any trouble downloading or using this code!
This code is licensed under the MIT License so feel free to use it in your own projects!