personalmagic's People
personalmagic's Issues
mi sento triste e solo
e piango
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
combat phase
New rules
stack triggers
Inverted
afflict e agressive urge in combat
se uso afflict o agressive urge nella combat cambiano i valori della creatura ma non quelli dell' attacco
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
- Bronze Sable[Attack: 2 Toughness: 1 ]
- Day of Judgement[Destroy all creatures]
- Afflict[Target creature gets -1/-1 until end of turn]
- Volcanic hammer[Volcanic Hammer deals 3 damages to target creature or player]
- Cancel[Cancel counter target spell]
- Cancel[Cancel counter target spell]
1
Player 2 select card/effect to play, 0 to pass - Cancel[Cancel counter target spell]
- Cancel[Cancel counter target spell]
- 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
check tappata in combat
savor the moment
annullare effetti nel setTarget
non ho idea di come si faccia :c
boiling earth mi rompe tutto
che cazzo è ConcurrentModificationException
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.