Skip to content

ilililliliilililililiili/charm-example

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ€ Charm Example

An example project demostrating how to use Charm to build a Roblox game. This includes syncing server state and an implementation of filtering player data.

The libraries in this project include:

  • ๐Ÿ€ Charm: Atomic state management
  • ๐Ÿงช Jest: Testing framework ported to roblox-ts
  • ๐Ÿ–ฅ๏ธ Vide: Cutting-edge UI library
  • ๐Ÿ’Ž Lapis: Immutable data store abstraction

Check out the game โ†’

๐Ÿš€ Getting Started

# Clone this repository
git clone https://github.com/littensy/charm-example.git
cd charm-example

# Install dependencies
pnpm install

# Build a place file
pnpm compile
pnpm build

๐Ÿงช Running Tests

Note

Jest Lua depends on debug.loadmodule (FFlagEnableLoadModule) to run tests.

On MacOS, you can run the following command to enable this feature:

sh bin/jest-flag.sh

To run your unit tests, start a playtest session in Run Mode (F8).


This project is released under the MIT License.

MIT License

About

๐Ÿ€ Use Charm to build a Roblox game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.0%
  • Luau 5.5%
  • Shell 1.5%