https://github.com/kurbaniec/functional-tactical-role-playing-game
Simple turn-based fantasy strategy game written in F#
https://github.com/kurbaniec/functional-tactical-role-playing-game
babylonjs dotnet elmish fable fsharp game game-development turn-based turn-based-strategy
Last synced: about 1 month ago
JSON representation
Simple turn-based fantasy strategy game written in F#
- Host: GitHub
- URL: https://github.com/kurbaniec/functional-tactical-role-playing-game
- Owner: kurbaniec
- Created: 2022-12-28T15:38:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-19T15:50:09.000Z (over 2 years ago)
- Last Synced: 2024-10-23T22:16:14.652Z (6 months ago)
- Topics: babylonjs, dotnet, elmish, fable, fsharp, game, game-development, turn-based, turn-based-strategy
- Language: F#
- Homepage:
- Size: 2.49 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
functional-tactical-role-playing-game
🕹️
Simple turn-based fantasy strategy game written in F#
## 🛠️ Build
Before you run the project **for the first time only** you must install dotnet "local tools" with this command:
```bash
dotnet tool restore
```## 🚀 Run
To concurrently run the server and the client components in watch mode use the following command:
```bash
dotnet run
```Then open `http://localhost:8080` in your browser.
To play the game, two tabs needs to be open for each player.
## ✨ Features
Game controls:
* `W A S D` - Move Cursor / Selection
* `Space` - Confirm Action
* `Escape` - Undo Action
* `Arrow Key Up Down Left Right` - Move Camera
* `Mouse Scroll` - Move Camera## 👍Special Thanks
* [Enterprise Tic-Tac-Toe](https://fsharpforfunandprofit.com/ettt/)
* [Domain Driven Design](https://fsharpforfunandprofit.com/ddd/)
* [Flow Field Pathfinding for Tower Defense](https://www.redblobgames.com/pathfinding/tower-defense/)### Assets
* [Animated Wizard](https://poly.pizza/m/kttbFvCl2C) by [Quaternius](https://poly.pizza/u/Quaternius) [[CC-BY](https://creativecommons.org/licenses/by/3.0/)] via Poly Pizza
* [Agile knight](https://poly.pizza/m/7aYuk5Rdlr-) by [Spiros Koutsourelis](https://poly.pizza/u/Spiros Koutsourelis) [[CC-BY](https://creativecommons.org/licenses/by/3.0/)] via Poly Pizza
* [Viking](https://poly.pizza/m/eVHUob4AIM3) by [Steve Schofield](https://poly.pizza/u/Steve Schofield) [[CC-BY](https://creativecommons.org/licenses/by/3.0/)] via Poly Pizza
* [Knight](https://poly.pizza/m/1TnT5Xc6vq) by [Vaporworks](https://poly.pizza/u/Vaporworks) [[CC-BY](https://creativecommons.org/licenses/by/3.0/)] via Poly Pizza
* [Rock](https://poly.pizza/m/RtLRqYjfMs) by [Quaternius](https://poly.pizza/u/Quaternius)
* [Gold Rocks](https://poly.pizza/m/49NgnJzOHc) by [Quaternius](https://poly.pizza/u/Quaternius)