Comments (2)
Solution 1 is probably the most doable, without creating too much complexity.
Solution 2 requires a major rework of how KO ownership is handled and Bot AI in almost every state.
Solution 3 is also doable, but feels like a hack.
So I think the Strategic AI should be reworked like this:
Step 1:
try to assign every Bot to a different Recipe, if there aren't enough recipes for all Bots then spread the remainig 'unassigned' Bots across the Recipes (always keeping in mind the expected time for recipe)
Step 2:
when new Requests are created, move the Bots with the highest expected time for their current recipe to the new recipe, always trying to minimize the number of players on a single recipe request.
Step 3:
On Recipe Expired or Completed move the now unassigned Bots to any recipe that has no player or if there are now, as per usual spread the bots across recipe requests
from cookedup.
Fixed with new Strategic AI
from cookedup.
Related Issues (20)
- Bots somethimes go to the same PlatesCounter wasting time HOT 2
- MeatPatty left to burn after Bot's recipe expires HOT 1
- If there are no Human players, Input actions like Pause won't be used HOT 1
- PlayerBot sometimes uses ingredients being worked by other bots HOT 1
- Implement multiple Human Players input HOT 1
- Create a Lobby to chose how many bots and human players to add HOT 1
- GetIngredients should work towards an Ingredient only when a required WorkCounter is Available
- Bots often stand in place blocking other Players from accessing counters HOT 1
- Create new Action to `SetPlate` HOT 1
- Multiple Levels and Level selection system
- Add scaling for number of players
- Bots will sometimes put ingredients in other Bot's plates HOT 1
- When starting a new game for the first time, player configuration does not update from the Lobby HOT 1
- Clock time label is broken
- Rework Bots Get Ingredient flow HOT 1
- Player Bot should re-utilize plates of expired recipes HOT 2
- Some Brain scripts actions have multiple values HOT 1
- Strategic Brain often performs multiple Executions without waiting for sensor updates
- Bot won't use its best plate for a recipe, keeping the last used instead HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cookedup.