91 Commits
Author SHA256 Message Date
andrea d40c7addfb add items also on the telegram bot 2025-11-15 18:40:34 +01:00
andrea 676a38b904 items are now correcly shown on the map 2025-11-15 18:14:05 +01:00
andrea 054522eaf3 spawn random items, and try to put on map, but i still need to investigate why items are not correctly rendered on map 2025-11-14 23:15:14 +01:00
andrea f408aee8f8 items syms 2025-11-14 22:00:35 +01:00
andrea 9c2b6b026b arena replace weapons with more generic items 2025-11-14 21:49:49 +01:00
andrea f80edfff83 failback random weapon 2025-09-04 21:32:57 +02:00
andrea 4c2864634b additional debug functions 2025-09-04 21:12:12 +02:00
andrea b4c8d94c8c initialize random_event action on Arena 2025-09-04 21:11:24 +02:00
andrea a56d931304 fix event_picker errors that cause bot crash 2025-09-04 21:10:32 +02:00
andrea b001c9312a fix event_pickers errors that make the bot crash 2025-09-04 21:09:15 +02:00
andrea cdb69699ab replace print with log_debug 2025-08-02 10:04:30 +02:00
andrea 6c3fe6326f restore map size 2025-08-02 09:55:16 +02:00
andrea 2550f0b262 fix movements 2025-08-02 09:52:20 +02:00
andrea 3cc6966d86 fix merge regression and exlude death player from attackable players 2025-08-02 09:33:06 +02:00
andrea aa245700c6 fix and improve debug game simulation 2025-08-02 08:58:36 +02:00
andrea 7f36158c40 fix double kill on an already death player 2025-08-02 00:07:22 +02:00
andrea 171b9fe787 fix 2025-08-02 00:00:00 +02:00
andrea eb3b7da07a start implement random action 2025-08-01 23:49:39 +02:00
andrea 8ed1bd3c4f bugfix and more complete resource handling on map 2025-08-01 23:00:58 +02:00
andrea 0379a3f935 texts 2025-08-01 22:30:41 +02:00
andrea 18bccfded8 fix conflicts 2025-08-01 22:27:10 +02:00
andrea c6c53caeee define a resource class for every entity that needs to be controlled on the game map 2025-08-01 22:24:38 +02:00
andrea a5831085ba define a resource class for every entity that needs to be controlled on the game map 2025-08-01 22:05:03 +02:00
andrea 9ad177b459 debug.py now has a list of 2 actions, attack and move, and every player get a random action from this list 2025-08-01 21:42:48 +02:00
andrea f2c8acb80a player movements 2025-08-01 19:25:36 +02:00
andrea 47729ceeb9 bot log more user info 2025-08-01 19:20:23 +02:00
andrea e0dc558c27 try using a smaller map and no mountain to get more available space 2025-07-28 23:06:19 +02:00
andrea 29157e22d4 fix kills counter 2025-07-28 22:56:46 +02:00
andrea 53189e3fd8 outline cell on the image map to make is more clear 2025-07-28 22:39:17 +02:00
andrea 87c0cefb56 requirements 2025-07-28 22:30:31 +02:00
andrea 52cc55e611 added image map generator, map cell's color and emoji legend, death players emoji and color 2025-07-28 22:29:27 +02:00
andrea 56da6031f2 show map with players on telegram bot 2025-07-28 20:45:42 +02:00
andrea 5002890540 debug random map generator 2025-07-28 20:08:15 +02:00
andrea 9653965d2b show players and items on the map 2025-07-28 20:03:08 +02:00
andrea 37578437f6 clear error message for missing local_settings.py 2025-07-28 18:55:33 +02:00
andrea 5e6816269b define players and items coordinates to be used on the map 2025-07-27 23:34:35 +02:00
andrea a7fd66e9e4 define Map class with basics rendering and parsing methods 2025-07-27 23:23:21 +02:00
andrea 172b387dcc fix duplicate logs 2025-07-27 09:10:09 +02:00
andrea 4639d85f00 better loggings but i need to fix a duplicate log line error 2025-07-27 08:56:40 +02:00
andrea 24f0f3e3e1 daily logs with a new file hanlder 2025-07-27 08:40:01 +02:00
andrea 0bfa74c0e2 cleanings to make code more compact and readable 2025-07-27 08:17:12 +02:00
andrea c82f31a101 less logs 2025-07-27 00:07:20 +02:00
andrea b9161a052f fix logs command 2025-07-27 00:06:59 +02:00
andrea bd0601e115 better log name 2025-07-26 23:59:35 +02:00
andrea bee2e94f82 item 2025-07-26 23:10:51 +02:00
andrea da0368d6c5 fix loop requesting seconds 2025-07-26 22:41:24 +02:00
andrea f8a3e12909 less logs lines 2025-07-26 22:33:56 +02:00
andrea 269724345d show logs inside the telegram bot 2025-07-26 21:58:38 +02:00
andrea a9cb58100f README 2025-07-26 21:32:52 +02:00
andrea 8f3d6dfaff explicit logs 2025-07-26 21:25:38 +02:00
andrea 460a6ccdec clean bot and fix autostop with scheduled game 2025-07-26 20:58:35 +02:00
andrea 2bf65583b7 cleanings 2025-07-26 20:34:15 +02:00
andrea 5e530e1af1 move upstart code 2025-07-26 19:44:45 +02:00
andrea ffbaa1c3b5 more logs 2025-07-26 19:30:13 +02:00
andrea 72ec279036 better logs format 2025-07-26 19:24:45 +02:00
andrea f55afe5959 logging info 2025-07-26 19:13:32 +02:00
andrea 669701dbb7 typo 2025-07-26 19:12:00 +02:00
andrea 9b538e7d2f fix 2025-07-26 19:11:26 +02:00
andrea 4d3dd5c781 fix binary path 2025-07-26 19:09:34 +02:00
andrea a948db5af3 add logging lib 2025-07-26 19:04:17 +02:00
andrea 11e4f9b2dd upstart bot 2025-07-26 18:38:40 +02:00
andrea 56e5e35b53 upstart bot 2025-07-26 18:28:46 +02:00
andrea 4729a45c30 player stats review and minor bot improvements 2025-07-26 18:07:14 +02:00
andrea 079dcd6639 README 2025-07-26 17:17:21 +02:00
andrea 65688b9100 add random health, random damage and show full player stats with emoji 2025-07-26 15:53:26 +02:00
andrea 308c9e3602 use internal method to get the player's gender 2025-07-26 15:36:22 +02:00
andrea 871b3d2ab1 fix player random extraction number 2025-07-26 15:35:45 +02:00
andrea 5f0d6ad3f5 fix bug where a death player is killed multiple time during the same day 2025-07-26 15:31:28 +02:00
andrea 551c2ef8ef cleans 2025-07-26 15:25:27 +02:00
andrea 4ce19d1a50 add kills counter random agility for each player and random init players 2025-07-26 15:20:03 +02:00
andrea 67804a394d split main bot lib into multiple smaller libs and improve end game message 2025-07-26 14:44:16 +02:00
andrea 415cdfc123 Merge branch 'green-master' 2025-07-26 14:08:24 +02:00
andrea fe356864c8 debug daily events, now all players plays during a day 2025-07-26 12:52:55 +02:00
andrea c5a6b886d6 allow multiple players insertion 2025-07-26 12:38:06 +02:00
andrea a7c6dd25df show winner player and break loop game if you executed the periodically game 2025-07-26 11:52:01 +02:00
andrea 888f22ac1b show better names on telegram message 2025-07-26 11:22:55 +02:00
andrea 0a6deafd32 improve message and add periodically run 2025-07-26 11:15:44 +02:00
andrea 100bb4fe53 implement bot keyboard with basics commands 2025-07-26 11:00:20 +02:00
andrea f360fe4200 move syms location 2025-07-26 10:13:20 +02:00
andrea 0df960ea22 split player commands from main bot 2025-07-26 10:04:19 +02:00
andrea 634c651cb5 typo fix and better players output 2025-07-26 09:46:04 +02:00
andrea c10872a47e test 2025-07-25 21:57:53 +02:00
andrea e8f2dbbc29 Merge branch 'master' of https://gitea.rpicloud.ovh/Cryz/battle_royale_sim 2025-07-25 21:56:28 +02:00
andrea 62ac0e83a5 test 2025-07-25 21:52:47 +02:00
andrea f193464006 bot reframe, based on local_settings TOKEN, and periodic run 2025-07-24 21:28:42 +02:00
andrea c5a6f4ea36 syntax bugfix 2025-07-24 21:27:36 +02:00
andrea 5a672b336f requirements 2025-07-24 19:18:43 +02:00
andrea 05d1718775 is_alive() is now based on player's health instead of a dedicated state 2025-07-24 19:16:30 +02:00
andrea bb396ae8d3 other player methods 2025-07-23 21:22:34 +02:00
andrea 3f340fcd2c telegram bot skeleton 2025-07-23 21:17:09 +02:00
andrea 0694ae0cae define the skeleton of the battle royale game 2025-07-23 19:54:39 +02:00