Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thiagomajesk/battler

An experimental CTB battler implementation using Elixir
https://github.com/thiagomajesk/battler

elixir game game-development liveview phoenix rpg

Last synced: 3 months ago
JSON representation

An experimental CTB battler implementation using Elixir

Awesome Lists containing this project

README

        

# Battler

An experimental CTB battler implementation using Elixir. Read the post: [How I created a JRPG battler with Elixir](https://thiagomajesk.github.io/posts/2024-04-27-how-i-created-a-jrpg-battler-with-elixir/).

![](battler-demo.gif)

## Disclaimer

This is just a demo project and did in my spare time and by nature it's highly experimental. It's sole purpose is to demostrate the available techniques one can use to achieve a similar goal using Elixir, Phoenix and LiveView. Many bits in this project are not yet implemented (and may never be) and its left to the readers imagination to fill in the gaps, the code is made available as is. Here are some of the missing parts:

- Implement the enemy attacks
- Apply different effects for each skill
- Display skill effects in the UI
- Exit battle when one party defeats the other

## Running the project

To start your Phoenix server:

* Run `mix setup` to install and setup dependencies
* Start Phoenix endpoint with `mix phx.server`

Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.