2024-04-28 05:33:13 -04:00
|
|
|
# zTSO
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
zTSO is a experimental implementation of The Sims Online written in Zig that is based on NioTSO's C-based libraries and tools.
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
## Requirements
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
- [Zig](https://ziglang.org/) 0.11 or newer
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
## Getting Started
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
1. **Clone the Repository**:
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
```bash
|
|
|
|
git clone https://github.com/tonytins/ztso.git
|
|
|
|
```
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
2. **Navigate to the Repository**:
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
```bash
|
|
|
|
cd zsandbox
|
|
|
|
```
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
3. **Run the Examples**: Execute the code examples using the Zig compiler. For instance:
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
```bash
|
|
|
|
zig build run
|
|
|
|
```
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
4. **Experiment and Learn**: Modify the code, try out different constructs, and see how Zig behaves.
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
## License
|
2012-10-17 03:21:00 -05:00
|
|
|
|
2024-04-28 05:33:13 -04:00
|
|
|
I license this project under the GPL-3.0 license - see [LICENSE](LICENSE) for details.
|