Code Monkey home page Code Monkey logo

Comments (4)

AtomFry avatar AtomFry commented on August 23, 2024

Would It be possible to alter this to:

Not launch the game, just select it.
Parameterize the input so that I can call this via an API locally.
My intention is that the player can receive a game recommendation via an AI and I could select that game on the screen for them.

Not launching the game would be a simple code change. I can add an option in the settings that lets you toggle whether it launches or just selects the game.

Id need to understand a bit more about the idea for an API that lets the input be parameterized. This plugin only runs when BigBox starts. Are you looking to be able to call into it again and again while big box is running to have the system select a different game recommended by the AI? That would be a bigger change. Or are you just looking to call into it once to launch the specified game? That would be doable already, not via API but by writing to the settings file that the plugin uses to determine which game to launch.

from bigboxautoplay.

AtomFry avatar AtomFry commented on August 23, 2024

For #2, I started messing around with creating a TCP listener where I listen for messages on a port. I think we can use this to send a little json message that has the parameters for what should launch so you could change games at any time remotely.

from bigboxautoplay.

AtomFry avatar AtomFry commented on August 23, 2024

put out an update - check out release 1.0.6 and let me know if you have trouble making use of the TCP server.

from bigboxautoplay.

AtomFry avatar AtomFry commented on August 23, 2024

I had some fun with this request. I didn't think I'd use something like this but now that I've played around with it, it's kind of neat. I may create a little companion app that you can run on your phone to select and launch games. I'm pretty curious about your idea having an AI suggest games and what the UI would be like for that.

I found several issues with what I'd initially put up and got them cleaned them up. I did a lot of testing and it seems stable but I'm going to mark it as a beta for now until I can get feedback from anyone who uses the new server features. There's a simple sample client application that you can run to send calls into the plug-in to select and/or launch games from a variety of parameters using the TCP client

beta release
https://github.com/AtomFry/BigBoxAutoPlay/releases/tag/1.0.6

sample client
https://github.com/AtomFry/BigBoxAutoPlaySampleClient

from bigboxautoplay.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.