Modeling a Neural Network for a Turn-based Strategy (TBS) gameNeural Network Hidden Neuron Selection StrategyHow to teach neural network a policy for a board game using reinforcement learning?Using Neural Networks To Predict SetsDeep neural net modelling strategyNeural Network Timeseries Modeling with Predictor VariablesHow to normalize data for Neural Network and Decision ForestHow to prevent a neural network from choosing the 'easiest' solutionWhat type of NN should be used for a turn-based game (with direct access to data)?What kind of neural network would work best for loosely-defined data, like video game RAM?Hindsight experience replay: strategy for sampling goals

Can disgust be a key component of horror?

Why can Carol Danvers change her suit colours in the first place?

Is this toilet slogan correct usage of the English language?

Can a College of Swords bard use a Blade Flourish option on an opportunity attack provoked by their own Dissonant Whispers spell?

How does a computer interpret real numbers?

Mimic lecturing on blackboard, facing audience

How do you make your own symbol when Detexify fails?

Picking the different solutions to the time independent Schrodinger eqaution

Hero deduces identity of a killer

Do the primes contain an infinite almost arithmetic progression?

How much character growth crosses the line into breaking the character

When were female captains banned from Starfleet?

How could a planet have erratic days?

How should I respond when I lied about my education and the company finds out through background check?

Why is so much work done on numerical verification of the Riemann Hypothesis?

Temporarily disable WLAN internet access for children, but allow it for adults

Creepy dinosaur pc game identification

Why "had" in "[something] we would have made had we used [something]"?

Can I still be respawned if I die by falling off the map?

What is going on with 'gets(stdin)' on the site coderbyte?

Plot of a tornado-shaped surface

Why is it that I can sometimes guess the next note?

Quoting Keynes in a lecture

What is the highest possible scrabble score for placing a single tile



Modeling a Neural Network for a Turn-based Strategy (TBS) game


Neural Network Hidden Neuron Selection StrategyHow to teach neural network a policy for a board game using reinforcement learning?Using Neural Networks To Predict SetsDeep neural net modelling strategyNeural Network Timeseries Modeling with Predictor VariablesHow to normalize data for Neural Network and Decision ForestHow to prevent a neural network from choosing the 'easiest' solutionWhat type of NN should be used for a turn-based game (with direct access to data)?What kind of neural network would work best for loosely-defined data, like video game RAM?Hindsight experience replay: strategy for sampling goals













0












$begingroup$


I'm modeling a neural network for a turn-based strategy game that involves purchase items every round. After the purchase phase, a combat phase is automatically executed (the winner gets more gold and the loser, consequently, minus gold). It is possible to buy more than one item, if there is available resource (gold) and the maximum number of items that it is possible to have is 8. In addition, it stands out the fact that the available items can be the same or different every round from the previous one. The main purpose of the neural network is to predict which items to buy.



What I thought to do is to create some features in order to feed the input layer of the network in the following manner: available gold; purchased items so far (max 8); available items for purchase (max 5); price of the available items for purchase. As output from the network would be 5 neurons, each representing the available items for purchase. So I am afraid of the following situation: I have 2 gold available and the neural network returns me that I should buy an item that costs 1 gold and another that costs 2, which would not be allowed. How could I deal with this? Has anyone ever dealt with a similar scenario?



Thank you very much!!










share|improve this question









$endgroup$
















    0












    $begingroup$


    I'm modeling a neural network for a turn-based strategy game that involves purchase items every round. After the purchase phase, a combat phase is automatically executed (the winner gets more gold and the loser, consequently, minus gold). It is possible to buy more than one item, if there is available resource (gold) and the maximum number of items that it is possible to have is 8. In addition, it stands out the fact that the available items can be the same or different every round from the previous one. The main purpose of the neural network is to predict which items to buy.



    What I thought to do is to create some features in order to feed the input layer of the network in the following manner: available gold; purchased items so far (max 8); available items for purchase (max 5); price of the available items for purchase. As output from the network would be 5 neurons, each representing the available items for purchase. So I am afraid of the following situation: I have 2 gold available and the neural network returns me that I should buy an item that costs 1 gold and another that costs 2, which would not be allowed. How could I deal with this? Has anyone ever dealt with a similar scenario?



    Thank you very much!!










    share|improve this question









    $endgroup$














      0












      0








      0





      $begingroup$


      I'm modeling a neural network for a turn-based strategy game that involves purchase items every round. After the purchase phase, a combat phase is automatically executed (the winner gets more gold and the loser, consequently, minus gold). It is possible to buy more than one item, if there is available resource (gold) and the maximum number of items that it is possible to have is 8. In addition, it stands out the fact that the available items can be the same or different every round from the previous one. The main purpose of the neural network is to predict which items to buy.



      What I thought to do is to create some features in order to feed the input layer of the network in the following manner: available gold; purchased items so far (max 8); available items for purchase (max 5); price of the available items for purchase. As output from the network would be 5 neurons, each representing the available items for purchase. So I am afraid of the following situation: I have 2 gold available and the neural network returns me that I should buy an item that costs 1 gold and another that costs 2, which would not be allowed. How could I deal with this? Has anyone ever dealt with a similar scenario?



      Thank you very much!!










      share|improve this question









      $endgroup$




      I'm modeling a neural network for a turn-based strategy game that involves purchase items every round. After the purchase phase, a combat phase is automatically executed (the winner gets more gold and the loser, consequently, minus gold). It is possible to buy more than one item, if there is available resource (gold) and the maximum number of items that it is possible to have is 8. In addition, it stands out the fact that the available items can be the same or different every round from the previous one. The main purpose of the neural network is to predict which items to buy.



      What I thought to do is to create some features in order to feed the input layer of the network in the following manner: available gold; purchased items so far (max 8); available items for purchase (max 5); price of the available items for purchase. As output from the network would be 5 neurons, each representing the available items for purchase. So I am afraid of the following situation: I have 2 gold available and the neural network returns me that I should buy an item that costs 1 gold and another that costs 2, which would not be allowed. How could I deal with this? Has anyone ever dealt with a similar scenario?



      Thank you very much!!







      neural-network deep-learning reinforcement-learning research game






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 5 hours ago









      Matheus PrandiniMatheus Prandini

      504




      504




















          0






          active

          oldest

          votes











          Your Answer





          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "557"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f47810%2fmodeling-a-neural-network-for-a-turn-based-strategy-tbs-game%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Data Science Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f47810%2fmodeling-a-neural-network-for-a-turn-based-strategy-tbs-game%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown