<commit_before># Slider

![CMPUT396 Project](https://s22.postimg.org/6gqbjdoq9/slider_thumb.png)

Slider is a program that uses minimax to play games that involve the combination of tiles with matching values based on directional input. 

Different rulesets can be used and created using Lua and involve changing parameters in the global State.Ruleset table. Each ruleset should override:
  - State.Ruleset.spawning, which validates possible new children under State.Tree.
  - State.Ruleset.movement, which validates directional input.
  - State.Ruleset.selection, ---

The heuristic evaluation and tree generation is done in C++ and referenced by LuaJIT's FFI.

Developer documentation will be provided at a later date.

### Requirements

Slider is packaged with the following:

* [LuaJIT] - Just-in-time compiler for Lua

This project is open-source and available [on GitHub][slider].

### Installation

### Development

### Todo

Game states, lua libraries.<commit_msg>Clarification<commit_after># Slider

![CMPUT396 Project](https://s22.postimg.org/6gqbjdoq9/slider_thumb.png)

Slider is a program that uses minimax to play games that involve the combination of tiles with matching values based on directional input. 

Different rulesets can be used and created using Lua and involve changing parameters in the Rules table. Each ruleset should override:
  - Rules.spawning, which determines the method of creating new children under State.Branch when the computer plays (randomly).
  - Rules.movement, which determines the method of creating new children under State.Branch when the user plays (heuristic).

The heuristic evaluation and tree generation is done in C++ and referenced by LuaJIT's FFI.

Developer documentation will be provided at a later date.

### Requirements

Slider is packaged with the following:

* [LuaJIT] - Just-in-time compiler for Lua

This project is open-source and available [on GitHub][slider].

### Installation

### Development

### Todo

Game states, lua libraries.
{'fraction_non_alphanumeric': 0.06843156843156843, 'fraction_numerical': 0.006993006993006993, 'mean_word_length': 4.594972067039106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '580015', 'n_tokens_mistral': 562, 'n_tokens_neox': 529, 'n_words': 244}