Skip to content

Servo is a experimental re-imagining of SimAntics using ML.NET with Jupyter Notebooks.

License

Apache-2.0, ODbL-1.0 licenses found

Licenses found

Apache-2.0
LICENSE
ODbL-1.0
DATA-LICENSE
Notifications You must be signed in to change notification settings

simtactics/servo

Servo

Binder License License: ODbL

Servo is a experimental re-imagining of SimAntics using ML.NET with Jupyter Notebooks. While current re-implementations exist, maintaining that code independently of the project has proven to be tedious and exhausting because it has to much ties to the game engine it was build around of. Servo is meant to be a fresh and clean design with the only relation to Sims coming from public design documents.

Requirements

Prerequisites

Design

Motive Engine

The Motive Engine is based on opposing weights. An object signals it's presence if the Sim's need is low. The need is the motive and that drives a Sims' decision. All games in the franchise are based on this dynamic at it's core. For example, if hunger is low then the fridge's presence is high and vice versa. A Sim's mood is the sum of the current state of their motives. They will only choose the fridge if it increases it's overall mood. The ML portion comes in deciding which has the priority.

A Sim's motives decrease in increments and independently of each other during game play. They are randomized for this experiment.

Decision Engine

The actual decision making is handled by ML.NET's recommendation algorithms based on Action, Need, and Threshold where Threshold is the "Rating", Need is the "User" and Action is the "Item". For example:

Action Need Min Max
Refrigerator Hunger 10 30
Toy Fun 60 70

The decision engine keeps an eye on the motives and the queue. The threshold is how the low the motive has to be in order for a Sim to use an object. Just like in The Sims, this can be tuned afterwards. However, In Under the Hood of The Sims says that the final decision is based on whether the fridge increases the current mood as a whole, not the hunger motive.

Current dataset design is NOT FINAL.

License

I license the source code for this project under the Apache 2.0, see LICENSE, and data sets under the Open Database License, see DATA-LICENSE.

About

Servo is a experimental re-imagining of SimAntics using ML.NET with Jupyter Notebooks.

Topics

Resources

License

Apache-2.0, ODbL-1.0 licenses found

Licenses found

Apache-2.0
LICENSE
ODbL-1.0
DATA-LICENSE

Code of conduct

Stars

Watchers

Forks