GithubHelp home page GithubHelp logo

breakthru's People

Contributors

jm-glowienke avatar

Watchers

 avatar

breakthru's Issues

Undoing moves broken

  • Check what is broken
  • fix it

--> possible problems: also remove move of engine and manual move

Game loading

With Engine implemented, game loading is not working anymore:

  • Type of game needs to be stored in log
  • Agents have to be setup according to loaded type
  • needs testing

Wrong move enterd -- is_move_valid function

If second move invalid entered, engine breaks
--> Why? board.moves_left() already adapted, but two moves have to be entered again --> not possible to continue:
1 move will be from player, other one from opponent for the engine

To-Do

  • check if change below of is_move_valid() is feasible for use of it
  • Change function of is_move_valid(): no adapting of moves_left anymore, only type determination
  • check occurrences of is_move_valid() and change code accordingly
  • test it

Incorrect moves

After incorrect move with manual and engine(?) player, game does not continue properly:

  • self.moves_left() not adapted when manual_move_entered --> numbering not correct
  • when wrong move occurs go back to manual_move entering at 1st move or 2nd move

--> possible solution: moves given back one by one instead of two at once or checking should happen directly

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.