https://github.com/rommsen/tens
Companion Repository for the "Let's build a simple game in Elmish" video
https://github.com/rommsen/tens
fable fable-elmish fsharp
Last synced: 10 months ago
JSON representation
Companion Repository for the "Let's build a simple game in Elmish" video
- Host: GitHub
- URL: https://github.com/rommsen/tens
- Owner: rommsen
- Created: 2020-01-26T21:46:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-14T09:50:18.000Z (over 6 years ago)
- Last Synced: 2025-08-16T19:34:36.373Z (10 months ago)
- Topics: fable, fable-elmish, fsharp
- Language: F#
- Homepage: https://youtu.be/jeYlmH2NlTw
- Size: 235 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tens in Elmish
I recorded 2 hours of me developing a simple game in Fable Elmish from start to finish. Here is the link to the video: https://youtu.be/jeYlmH2NlTw
Motivation for this video came from this tweet by Ryan Florence: https://twitter.com/ryanflorence/status/1219351388775256064
I wanted to try out how this could be build with the help of the Elm Architecture.
## Building and running the app
First of all, start with installing the project's npm dependencies
```bash
npm install
```
Once this is finished, you can then build and compile the project:
```
npm run build
```
You can start developing the application in watch mode using the webpack development server:
```
npm start
```
After the first compilation is finished, navigate to http://localhost:8080 in your browser to see the application.
### VS Code
If you happen to use Visual Studio Code, simply hitting F5 will start the development watch mode for you and opens your default browser navigating to http://localhost:8080.