Commit Graph
71 Commits
Author SHA1 Message Date
legonzaur d4c7540b6f fixes #4; lock champions at beginning of turn 2024-05-06 14:53:31 +02:00
legonzaur 5a90c9da6f fix player hand -> board start turtn 2024-05-03 17:00:57 +02:00
legonzaur 098dc4977f small cleanup 2024-05-03 16:28:46 +02:00
legonzaur 90b9e989a7 avoid adding cards to player hand during his turn 2024-05-03 16:17:04 +02:00
legonzaur f6e618cf26 Fix fire gem stack not updating when fire gem is sacrified 2024-05-03 16:15:28 +02:00
legonzaur d1887349c6 Automatically play cards at start of turn 2024-05-03 16:02:05 +02:00
legonzaur bf07a958e4 Play card automatically at start of turn 2024-05-03 15:53:16 +02:00
legonzaur cd8fcc78c3 Disable effect autotrigger when it has a EffectTime attribute 2024-05-03 00:51:44 +02:00
legonzaur ce52c1ecac prevent draw effect for being consumed if no cards can be drawn 2024-05-02 23:27:39 +02:00
legonzaur 53f94a6bb1 fix crash caused by function not being async 2024-05-02 23:27:18 +02:00
legonzaur 191d32bea2 fixes #1; Migrate card activation effect to factory in card_behaviour.py 2024-05-02 23:10:04 +02:00
legonzaur 2e04462d86 Fix Prepare Typo 2024-05-02 23:06:06 +02:00
legonzaur b9ebf0ae84 Remove useless setter on player ready 2024-05-02 17:58:27 +02:00
legonzaur 4a915d6134 add linked card attribute to effect 2024-05-02 17:58:11 +02:00
legonzaur 91e8ca4955 add linked card property to effects 2024-05-01 11:27:57 +02:00
legonzaur 3a6bb5ccfc Temporary fix for restack_discarded_card not working 2024-05-01 11:10:39 +02:00
legonzaur 09e5d64422 fix broelyn discard effect not having faction combo type 2024-05-01 10:59:30 +02:00
legonzaur 1937371ccf Reset champion health at the start of each turn 2024-05-01 10:51:39 +02:00
legonzaur ed7dc6261d Fix champion kill not working 2024-04-26 20:17:09 +02:00
legonzaur 5e6835eb79 change platform
release-tag / release-image (push) Successful in 54s
2024-04-26 18:37:54 +02:00
legonzaur be69ba4928 test workflow
release-tag / release-image (push) Failing after 36s
2024-04-26 18:15:30 +02:00
legonzaur 14b8934a1e publish build action 2024-04-26 18:13:58 +02:00
legonzaur b71253f220 add dockerfile 2024-04-26 18:02:18 +02:00
legonzaur 0487576a60 Small fixes for playtesting 2024-04-26 16:07:57 +02:00
legonzaur be993fd1be fix wolf shaman 2024-04-26 16:07:45 +02:00
legonzaur bfa6884a9e small error and type fixes 2024-04-25 20:54:29 +02:00
legonzaur 8e71dfe0ff add heal and damage to netcode 2024-04-25 20:36:51 +02:00
legonzaur 898e58399e card locking and event triggering WIP fix 2024-04-25 00:33:02 +02:00
legonzaur 8b397484cb only legal actions can be taken 2024-04-24 23:55:39 +02:00
legonzaur 1f4f39652d add Ids to cards 2024-04-22 13:42:32 +02:00
legonzaur 25c48a9431 remove runtimewarnings 2024-04-20 15:10:02 +02:00
legonzaur 89ee1df587 remove print 2024-04-20 15:09:55 +02:00
legonzaur 0226fb3a60 Some game actions work 2024-04-20 15:04:27 +02:00
legonzaur fa045c235f add PLAY_NEXT_CARD_BOUGHT CardEffect 2024-04-20 14:30:03 +02:00
legonzaur f49e1568f2 Fix tyrannor sacrifice amount 2024-04-20 12:40:30 +02:00
legonzaur 39e4af2dd0 remove hidden attribute from serialization 2024-04-20 09:20:44 +02:00
legonzaur e400a7e770 change callback to filter by player instead of client 2024-04-20 09:20:33 +02:00
legonzaur 792f18e274 rename card effect_type sactifice to suicide 2024-04-20 08:07:17 +02:00
legonzaur cdcffc5d77 Add todo 2024-04-20 00:43:59 +02:00
legonzaur fe0d45f036 Fix player draw update 2024-04-20 00:39:03 +02:00
legonzaur aee17c8a54 remove useless team notify 2024-04-20 00:35:57 +02:00
legonzaur 5efa112610 notify players when cards are initially drawn 2024-04-20 00:31:55 +02:00
legonzaur fd45b80fec add effects to card 2024-04-05 23:08:34 +02:00
legonzaur 591098bec3 Prevent crash when clients disconnects 2024-04-05 19:35:40 +02:00
legonzaur 5335fe21f8 remove game being started at initialization 2024-04-05 16:40:04 +02:00
legonzaur 0b2f4ea18e Allow card cost to be null 2024-04-05 11:10:17 +02:00
legonzaur f06de888e5 fix game model turn not being a class attribute 2024-04-04 21:55:03 +02:00
legonzaur c068143422 Initial game setup when starting 2024-04-04 21:48:23 +02:00
legonzaur 63d5a53701 architecture cleanup 2024-04-04 21:46:51 +02:00
legonzaur 45c6596914 architecture cleanup 2024-04-04 21:46:39 +02:00
legonzaur 55f61928ea fix draw function being recursive 2024-04-04 21:46:16 +02:00
legonzaur e2df8a7d5d init base cards 2024-04-04 14:44:16 +02:00
legonzaur 0a7bba5f75 remove text from card 2024-03-29 14:00:13 +01:00
legonzaur cc7e2ad93e load cards from json 2024-03-29 13:59:57 +01:00
legonzaur a0ab6a051f fix per-champion vs per_other_champion 2024-03-29 12:29:26 +01:00
legonzaur d07ec4e89f Add initial cards 2024-03-29 11:42:56 +01:00
legonzaur b78a09f911 add first card list 2024-03-29 11:08:12 +01:00
legonzaur 3e99ce4357 add distribute_market_cards 2024-03-28 11:24:28 +01:00
legonzaur c386f38dcf game controller cleanup 2024-03-28 11:03:16 +01:00
legonzaur 29b9839452 gameobject annoucing when joining 2024-03-28 10:33:05 +01:00
legonzaur 370815a018 remove team debug print 2024-03-27 22:56:41 +01:00
legonzaur e97ee8a37a add serialize_team 2024-03-27 22:55:56 +01:00
legonzaur bac5f6e205 player creation and broadcast 2024-03-27 22:52:05 +01:00
legonzaur 34c519345e working on clientController : register POC 2024-03-27 18:43:58 +01:00
legonzaur 85308a8007 pseudo mvc 2024-03-26 17:35:48 +01:00
legonzaur 01fd2d63f5 ugly ws controller 2024-03-26 17:20:41 +01:00
legonzaur 3576882dc9 beginning netcode 2024-03-26 14:44:28 +01:00
legonzaur 9e0f6d949b rename files 2024-03-26 13:44:17 +01:00
legonzaur b74de735f0 Type definition 2024-03-26 11:58:59 +01:00
legonzaur edbe857325 add requirements.txt 2024-03-26 10:07:40 +01:00
legonzaur f23e3343bb Initial commit 2024-03-26 10:06:13 +01:00