Coder Social home page Coder Social logo

personalmagic's People

Contributors

cornettolo avatar feliksh avatar fundor333 avatar kotochan avatar totoguasta95 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

personalmagic's Issues

wrong input

inserisci indice della carta da giocare:
'asdf'
boooooom
basta aggiungere un while che faccia inserire di nuovo la risposta..

problema target

posso passare alle carte che usano una creatura come target anche un effetto

issue

bisogna fare il secondo assignment

instants in combat phase

aggiungere la possibilità di giocare istantanee nella combat, tra la delcareAttackers e declareDefenders e tra la declareDefenders e la calculateDamage.
le istruzioni sono scritte nella mainphase ma bisogna trovare un metodo di applicarle anche all combat... senza riscrivere il codice quindi... dovremmo mettere il metodo da qualche parte accessibile ad entrambe le fasi

creature non riconoscono owner

in un attacco 1 vs 1 se entrambe le creature muoiono abbiamo in output:
Player 1 VS Player 2
-~~~~~~~o~~~~~~~o~~~~~~~o~~~~~~~
-Bronze Sable [2;1]
VS
-Bronze Sable [2;1]
-~~~~~~~o~~~~~~~o~~~~~~~o~~~~~~~
-Bronze Sable of Player 1 is destroyed!
-Bronze Sable of Player 1 is destroyed!

non so se possa essere considerato un errore

Player 1: main phase
Player 1 life: 10
Player 1 select card/effect to play, 0 to pass

  1. Bronze Sable[Attack: 2 Toughness: 1 ]
  2. Day of Judgement[Destroy all creatures]
  3. Afflict[Target creature gets -1/-1 until end of turn]
  4. Volcanic hammer[Volcanic Hammer deals 3 damages to target creature or player]
  5. Cancel[Cancel counter target spell]
  6. Cancel[Cancel counter target spell]
    1
    Player 2 select card/effect to play, 0 to pass
  7. Cancel[Cancel counter target spell]
  8. Cancel[Cancel counter target spell]
  9. Afflict[Target creature gets -1/-1 until end of turn]
    3
    possibili target in campo:
    inserire l'indice del target
    0
    Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.rangeCheck(ArrayList.java:635)

non funzia

Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:122)
Caused by: java.lang.NullPointerException
at cardgame.DefaultCombatPhase.(DefaultCombatPhase.java:10)
at cardgame.Player.(Player.java:70)
at cardgame.CardGame.(CardGame.java:42)
at cardgame.CardGame.(CardGame.java:35)
... 3 more

Process finished with exit code 1

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.