Skip to content

Yoso2/tpp-core

 
 

Repository files navigation

This is a rewrite of the backbone that runs TwitchPlaysPokemon. It is replacing the old closed-source Python core with the goal for improved maintainability and accessability to new contributors. The scope encompasses, but is not limited to:

  • Managing persistent data
  • Connecting to Twitch Chat and handling all interactions (e.g. commands, modbot, announcements)
  • Processing inputs during runs ("runmode")
  • Driving the "match loop" during betting periods ("matchmode")
  • Driving the overlay you see on stream
  • Driving external programs like emulators

This code is already running live on-stream in 'dual-core' mode, with all features that are not re-implemented here yet still being taken care of by the old python core. Porting features over is an ongoing process.

requirements

run

The executable project is located at Core. See its readme for further instructions.

run tests

  • dotnet test runs all tests
  • dotnet test --filter TestCategory!=IntegrationTest skips tests that have preconditions or are slow

About

Core re-write for TwitchPlaysPokemon, WIP, contributions welcome

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 98.8%
  • Shell 1.2%