GithubHelp home page GithubHelp logo

ansjob / optimalt-yatzy Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 339 KB

Kandidatexamensarbete för Andreas Sjöberg och Marcus Larsson angående en optimal strategi för den skandinaviska versionen av Yatsy

License: MIT License

Java 100.00%

optimalt-yatzy's People

Contributors

ansjob avatar marcular avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

diku0413

optimalt-yatzy's Issues

upperTotal

Stämmer detta verkligen?

if (score + upperTotal >= 63)
        score += 50;
return score;

Jag tänker mig i scenariot där man redan har t ex 67 poäng i upperTotal och kryssar i en etta. Det får man ju bara en poäng för och inte 51.

Förslag på ändring:

if (upperTotal < 63 && score + upperTotal >= 63)
        score += 50:
return score

Heap Space

Jag får slut på heapspace när min dator försöker allokera minne för att spara alla actions. Hur mycket brukar du köra?

Raden där felet inträffar:


Btw, ser jävligt bra ut med roll 0-2 ! :)

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.