Menu

Function Game

starline
2017-03-15
2017-03-17
  • starline

    starline - 2017-03-15

    Hi

    Would it be possible to include a function to create a game for example Ho One 501
    Immediately start with the same players?
    cheers

     
  • poilou

    poilou - 2017-03-15

    Hi Starline,
    And welcome to pyDarts :)

    Could you give a bit more explaination about your expectations ?

    Would you say a command line parameter to select automatically :

    • Game
    • Players'
    • Game options (like "Starting At" on Ho One) ?

    I find that interesting. The problem is the game options, they depends directly from the selected game. A solution would be to include the prefered options in the pydarts.cfg file, and to select the game via command line... Interesting... Could be a great idea for next release :) I really need to release v1.0.0 in the next weeks. Open source always says : release often, release early !

    Tell me what do you think

     
  • diego

    diego - 2017-03-16

    Hi,
    I think, when a game is finished, Starline wants a button to start exactly the same game with the same player (to play quickly), is that true starline?

     

    Last edit: diego 2017-03-16
  • Andreas

    Andreas - 2017-03-16

    I think starline means a restart after game is played, so that you can play again the same game with the same settings.

     
  • poilou

    poilou - 2017-03-16

    That make sense :)
    I think this can be broken down in two new functionnalities :

    • a "start again" button available for local games (ok for v1.0)
    • a preset configuration, to launch a game straight forward in a single command line (for furious players ;))

    I wait for the comments of starline to start a dev. This will cause delay for v1.0 anyway

     
  • starline

    starline - 2017-03-16

    Hi hi

    I would have imagined it so! I choose a game, for example Ho One with three players and double out.
    Then it would be nice when this game comes to an end, that you only have to press a key on the keyboard and the same game with the same players and game options will be restarted again!

    cheers

     
  • poilou

    poilou - 2017-03-16

    Good news Starline :)

    Your request will be available in pydarts_v1.0.0-rc3

    Pressing "Enter" at the end of a game (local only) will start a new game with exactly same settings. Great ? Just for you ;)

    Two brand new feature will appear at the same time :

    • Launch a game directly without having to pass thru menus : exemple, to launch a Ho_One with your friend "Boris", directly from command line, just create a shortcut with these command line parameters :
    pydarts --localplayers=starline,boris --gametype=local --selectedgame=Ho_One
    
    • Another new feature will be to preset game options. Exemple, if most of time, you prefer to play Ho_One starting from 501 instead of 301, and that you most of time play it in 20 rounds instead of 10, double in enabled, just write in your pydarts.cfg :
    [Ho_One]
    startingat:501
    totalround:30
    double_in:True
    

    And that's it ! Everytime you create a game it will suggest these options instead of pydarts' default ones. Greeeeaaaaat, isn't it? Already available in source code, bundled in next release of course.

    Cheers to all ! Support pyDarts !

     
  • starline

    starline - 2017-03-17

    Hi hi

    great thing! And a thank you already times in advance!

    CHEERS

     
  • poilou

    poilou - 2017-03-17

    You're welcome Starline.
    This time it's true, no more functionnalities for v1.0 :)
    Bye

     
  • Andreas

    Andreas - 2017-03-17

    Double Thumbs up!

     
  • Diego2

    Diego2 - 2017-03-19

    I have been a bit busy, but what a surprise when I connect the dartboard and download the last snapshot... you are doing a hard job guys! it's getting really cool.

    Should we play a game one day if I finally could connect the dartboard to internet hahaha

    As well as I have been busy (and i am still busy), I had read all your posts but now I have tested.

    Did already raspberry and pydarts married, or are them still meeting themselves? haha

     
    • poilou

      poilou - 2017-03-19

      Join us for the next First Sunday Contest, Diego2 !
      Andreas felt a bit lonely last time ;)

       
  • Andreas

    Andreas - 2017-03-19

    pydarts is running fine with raspberry! :)

     
  • starline

    starline - 2017-03-21

    Hi poilou

    The new function to restart the game with a button works very well !!!

    Would it be possible if the game is restarted and I play for example with three players and has one player
    The game won, player two has 50 points and player three 10 points that the next game start the players in the following order!

    Player 2
    Player 3
    Player 1

    The worst player can start and the winner is the last one!

    cheers

     
  • poilou

    poilou - 2017-03-21

    Hi Starline and thanks for your feedback.

    I understand very well your request, and I guess that you are a Ho_One player ;)
    The rule you describe here works well for Ho_One, but will be hard to code for all the games in a row...

    Each game has to describe its own way of ordering the players. Some game will order players depending of ascendent score (like Cricket), and other descendant score (like Ho_One). My guess is that I have to modify all the games to include this functionnality. Sorry but this one will not be for next release ;) But I keep it in mind !

    Cheers

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.